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.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/app/main.js b/src/app/main.js
index f512d4f..b0f0ebf 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -61,7 +61,12 @@ ipcRenderer.on("mods", (event, mods) => {
}
})
+ipcRenderer.on("version", (event, versions) => {
+ vpversion.innerText = lang("gui.versions.viper") + ": " + versions.vp;
+ nsversion.innerText = lang("gui.versions.northstar") + ": " + versions.ns;
+}); ipcRenderer.send("getversion");
+
setlang();
setInterval(() => {
ipcRenderer.send("setsize", document.querySelector(".lines").offsetHeight + 20);
-}, 150)
+}, 150);