Implment app.getAppPath API.
This commit is contained in:
parent
8f06bd6f3e
commit
a2857d2dca
4 changed files with 13 additions and 0 deletions
|
@ -87,6 +87,7 @@ 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())
|
||||
app.setAppPath packagePath
|
||||
|
||||
# Load the chrome extension support.
|
||||
require './chrome-extension'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue