diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index fa2a35f..0e8364f 100644 --- a/src/index.js +++ b/src/index.js @@ -59,7 +59,13 @@ function start() { win.webContents.send("mods", utils.mods.list()); }); - if (utils.settings.autoupdate) {utils.updatevp(false)} + if (utils.settings.autoupdate) { + utils.updatevp(false) + } else { + if (utils.settings.nsupdate) { + utils.update(); + } + } autoUpdater.on("update-downloaded", () => { win.webContents.send("updateavailable") |