aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.js b/src/utils.js
index eeeb1da..72c0ba2 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -36,7 +36,7 @@ if (fs.existsSync("viper.json")) {
northstar_auto_updates: {
- if (!settings.autoupdate) break northstar_auto_updates;
+ if (!settings.autoupdate || !fs.existsSync("viper.json")) break northstar_auto_updates;
async function _checkForUpdates() {
const localVersion = getNSVersion();