electron/atom
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
..
app clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
browser feat: new makeSingleInstance API (#12782) 2018-05-08 01:29:18 +10:00
common Better OSR tests (#12817) 2018-05-03 11:10:25 -05:00
node also format missing .cc files 2018-04-18 20:48:45 -04:00
renderer Send document-start/end to the right context when contextIsolation=true (#12738) 2018-05-04 23:39:54 -07:00
utility also format missing .cc files 2018-04-18 20:48:45 -04:00