Merge pull request #5720 from danhp/release-single-instance

Add 'app.releaseSingleInstance()'
This commit is contained in:
Cheng Zhao 2016-05-30 00:51:13 +00:00
commit 26fa963a70
3 changed files with 15 additions and 1 deletions

View file

@ -496,6 +496,11 @@ app.on('ready', () => {
});
```
### `app.releaseSingleInstance()`
Releases all locks that were created by `makeSingleInstance`. This will allow
multiple instances of the application to once again run side by side.
### `app.setUserActivity(type, userInfo[, webpageURL])` _OS X_
* `type` String - Uniquely identifies the activity. Maps to