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
..
2018-04-20 11:47:04 -07:00
2018-05-08 01:29:18 +10:00
2018-05-08 01:29:18 +10:00
2018-04-18 20:48:45 -04:00
2018-04-19 11:12:10 -07:00
2018-04-18 20:48:45 -04:00
2017-11-21 21:47:51 +09:00
2018-04-20 11:47:04 -07:00
2018-04-18 20:48:45 -04:00
2018-05-03 23:45:12 -07:00
2018-04-19 13:08:37 +09:00
2018-04-18 20:48:45 -04:00
2018-04-20 19:55:05 +09:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-19 11:10:52 -07:00
2018-04-19 11:12:10 -07:00
2018-04-18 20:48:45 -04:00
2016-08-02 18:08:12 +09:00
2018-04-18 20:48:45 -04:00
2018-04-05 15:33:13 +09:00
2018-04-19 11:12:58 -07:00
2018-04-19 11:12:58 -07:00
2018-04-19 11:12:58 -07:00
2018-04-19 11:12:58 -07:00
2018-04-18 20:48:45 -04:00
2018-04-19 13:08:37 +09:00
2018-02-23 10:22:00 +09:00
2016-10-25 12:41:01 +02:00
2018-04-18 20:48:45 -04:00
2018-02-10 03:19:47 -08:00
2018-05-03 09:04:22 -05:00
2018-05-01 02:04:27 +10:00
2018-05-01 02:04:27 +10:00
2018-05-01 02:04:27 +10:00
2018-04-18 20:48:45 -04:00
2017-11-24 10:58:16 +09:00
2018-04-19 11:10:52 -07:00
2018-04-19 11:12:10 -07:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-20 11:47:04 -07:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-20 19:55:05 +09:00
2018-04-19 11:12:10 -07:00
2018-04-20 11:47:04 -07:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-19 12:45:21 +02:00
2018-04-19 13:08:37 +09:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-19 11:10:52 -07:00
2017-03-28 18:46:21 +05:30
2018-04-20 11:47:04 -07:00
2018-03-20 10:13:17 +03:00
2018-05-01 13:34:41 +09:00
2018-04-26 19:17:55 +09:00
2018-04-20 19:55:05 +09:00
2018-04-18 20:48:45 -04:00
2018-04-19 11:10:52 -07:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-19 11:10:52 -07:00
2018-04-20 19:55:05 +09:00
2018-04-18 20:48:45 -04:00
2018-04-18 20:48:45 -04:00
2018-04-19 11:12:58 -07:00
2018-04-19 11:12:58 -07:00
2018-04-19 11:10:52 -07:00
2018-04-19 11:12:10 -07:00
2018-04-19 11:10:52 -07:00
2018-04-18 20:48:45 -04:00