projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4608f5e
)
Enable NPAPI by default, trump Chromium's default
author
Paul Betts
<paul@paulbetts.org>
Fri, 1 May 2015 23:40:21 +0000
(16:40 -0700)
committer
Paul Betts
<paul@paulbetts.org>
Fri, 1 May 2015 23:59:40 +0000
(16:59 -0700)
atom/browser/lib/init.coffee
patch
|
blob
|
history
diff --git
a/atom/browser/lib/init.coffee
b/atom/browser/lib/init.coffee
index
fcff0d8
..
cbee136
100644
(file)
--- 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())