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