diff options
author | GitExample <git@example.com> | 2022-02-03 23:03:33 +0100 |
---|---|---|
committer | GitExample <git@example.com> | 2022-02-03 23:04:41 +0100 |
commit | 5884b9a8e91ed8b2c5cfea90afa2709697b05afb (patch) | |
tree | fc61ff6c9791b7f350a022eef036165b7413e6bd /src/app/main.js | |
parent | be4dc389305ad203328188c2b88383871916ebe0 (diff) | |
download | Viper-5884b9a8e91ed8b2c5cfea90afa2709697b05afb.tar.gz Viper-5884b9a8e91ed8b2c5cfea90afa2709697b05afb.zip |
detection for new updates of mods
Diffstat (limited to 'src/app/main.js')
-rw-r--r-- | src/app/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js index fa7cea8..08c70c1 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -3,6 +3,7 @@ const path = require("path"); const { ipcRenderer, shell } = require("electron"); const lang = require("../lang"); +var modsobj = {}; let shouldInstallNorthstar = false; // Base settings @@ -180,6 +181,7 @@ ipcRenderer.on("alert", (event, msg) => {alert(msg)}) // Updates the installed mods ipcRenderer.on("mods", (event, mods) => { + modsobj = mods; modcount.innerHTML = `${lang("gui.mods.count")} ${mods.all.length}`; modsdiv.innerHTML = ""; |