Merge pull request #9432 from electron/fix-docs-8
Fix return type of makeSingleInstance
This commit is contained in:
commit
aea25be150
1 changed files with 2 additions and 0 deletions
|
@ -667,6 +667,8 @@ app.setJumpList([
|
||||||
* `argv` String[] - An array of the second instance's command line arguments
|
* `argv` String[] - An array of the second instance's command line arguments
|
||||||
* `workingDirectory` String - The second instance's working directory
|
* `workingDirectory` String - The second instance's working directory
|
||||||
|
|
||||||
|
Returns `Boolean`.
|
||||||
|
|
||||||
This method makes your application a Single Instance Application - instead of
|
This method makes your application a Single Instance Application - instead of
|
||||||
allowing multiple instances of your app to run, this will ensure that only a
|
allowing multiple instances of your app to run, this will ensure that only a
|
||||||
single instance of your app is running, and other instances signal this
|
single instance of your app is running, and other instances signal this
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue