Enable NPAPI by default, trump Chromium's default

This commit is contained in:
Paul Betts 2015-05-01 16:40:21 -07:00
parent 4608f5e9cd
commit 4f67415607

View file

@ -81,6 +81,9 @@ if packageJson.desktopName?
else
app.setDesktopName "#{app.getName()}.desktop"
# Chrome 42 disables NPAPI plugins by default, reenable them here
app.commandLine.appendSwitch 'enable-npapi'
# Set the user path according to application's name.
app.setPath 'userData', path.join(app.getPath('appData'), app.getName())
app.setPath 'userCache', path.join(app.getPath('cache'), app.getName())