electron/lib/browser
Samuel Attard 5b5c161601
feat: new makeSingleInstance API (#12782)
* Refactor app.makeSingleInstance
* new API `app.isPrimaryInstance()`
* new API `app.isSingleInstance()`
* new event `app.on('second-instance')`
* deprecated old syntax `app.makeSingleInstance(cb)`
* deprecated old syntax of `app.makeSingleInstance() --> bool` in favor
of `app.isPrimaryInstance()`
* Fix spec, we don't need process.nextTick hacks any more
* Make deprecation TODO for the return value of makeSingleInstance
* Refactor makeSingleInstance to requestSingleInstanceLock and add appropriate deprecation comments
* I swear this isn't tricking the linter
* Make const
* Add deprecation warnings for release, and add to planned-breaking-changes

BREAKING CHANGE
2018-05-08 01:29:18 +10:00
..
api feat: new makeSingleInstance API (#12782) 2018-05-08 01:29:18 +10:00
chrome-extension.js Replace custom function with Object.values() 2018-02-05 20:03:28 -08:00
desktop-capturer.js Add a display_id parameter to the desktopCapturer API. (#12417) 2018-04-09 14:43:35 +09:00
guest-view-manager.js add did-frame-navigate event to WebContents (#12723) 2018-05-01 13:34:41 +09:00
guest-window-manager.js Propagate referrer to new windows (#12397) 2018-04-05 18:13:24 -05:00
init.js Add Support for Pop!_OS GNOME Session 2017-12-21 14:16:15 -05:00
objects-registry.js Co-locate with other private methods 2016-12-02 10:41:42 -08:00
rpc-server.js Fix optimizeSimpleObject for arrays of objects (#12815) 2018-05-03 22:34:30 -05:00