From 1a7fd0098aef4c229be5e5ec55a1106a60b620b2 Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Sat, 17 Aug 2019 17:44:25 +0200 Subject: [PATCH] fix: Unable to detect dev mode properly. --- js/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/methods.js b/js/methods.js index 1d4051f..75c6255 100644 --- a/js/methods.js +++ b/js/methods.js @@ -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; }