Merge pull request #2133 from atom/app_dir_api
Implment app.getAppPath API.
This commit is contained in:
commit
e0528655a8
4 changed files with 13 additions and 0 deletions
|
@ -139,6 +139,10 @@ This method guarantees all `beforeunload` and `unload` handlers are correctly
|
|||
executed. It is possible that a window cancels the quitting by returning
|
||||
`false` in `beforeunload` handler.
|
||||
|
||||
## app.getAppPath()
|
||||
|
||||
Returns the current application directory.
|
||||
|
||||
## app.getPath(name)
|
||||
|
||||
* `name` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue