fix: Unable to detect dev mode properly.

This commit is contained in:
Quentin Decaunes 2019-08-17 17:44:25 +02:00
parent d87abc4736
commit 1a7fd0098a

View File

@ -668,5 +668,5 @@ function updateScheduledStartOnBoot(toBeEnabled) {
* Return true if dev mode.
*/
function isDevMode() {
return require('electron').remote.app.isPackaged;
return !require('electron').remote.app.isPackaged;
}