mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
fix: Unable to detect dev mode properly.
This commit is contained in:
parent
d87abc4736
commit
1a7fd0098a
@ -668,5 +668,5 @@ function updateScheduledStartOnBoot(toBeEnabled) {
|
|||||||
* Return true if dev mode.
|
* Return true if dev mode.
|
||||||
*/
|
*/
|
||||||
function isDevMode() {
|
function isDevMode() {
|
||||||
return require('electron').remote.app.isPackaged;
|
return !require('electron').remote.app.isPackaged;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user