From: Paul Betts Date: Fri, 1 May 2015 23:40:21 +0000 (-0700) Subject: Enable NPAPI by default, trump Chromium's default X-Git-Tag: v0.25.3~15^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4f674156071c8bf8aa2bd127ca47cd1490043db3;p=electron.git Enable NPAPI by default, trump Chromium's default --- diff --git a/atom/browser/lib/init.coffee b/atom/browser/lib/init.coffee index fcff0d89..cbee1365 100644 --- a/atom/browser/lib/init.coffee +++ b/atom/browser/lib/init.coffee @@ -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())