mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-27 22:46:38 +08:00
Merge pull request #1519 from atom/reenable-npapi
Reenable NPAPI by setting optional flag
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user