From 4f674156071c8bf8aa2bd127ca47cd1490043db3 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Fri, 1 May 2015 16:40:21 -0700 Subject: [PATCH] Enable NPAPI by default, trump Chromium's default --- atom/browser/lib/init.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atom/browser/lib/init.coffee b/atom/browser/lib/init.coffee index fcff0d89033..cbee1365541 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())