aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index d30489e..ab80ba9 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -54,6 +54,14 @@ ipcRenderer.on("newpath", (event, newpath) => {
ipcRenderer.on("log", (event, msg) => {log(msg)})
+ipcRenderer.on("mods", (event, mods) => {
+ modcount.innerHTML = `${lang("gui.mods.count")} ${mods.length}`;
+ modsdiv.innerHTML = "";
+ for (let i = 0; i < mods.length; i++) {
+ modsdiv.innerHTML += `<div class="mod">${mods[i].Name}</div>`;
+ }
+})
+
ipcRenderer.on("version", (event, versions) => {
vpversion.innerText = lang("gui.versions.viper") + ": " + versions.vp;
nsversion.innerText = lang("gui.versions.northstar") + ": " + versions.ns;