aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/index.html4
-rw-r--r--src/app/main.js8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/app/index.html b/src/app/index.html
index 6e31f0c..4c31255 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -9,8 +9,8 @@
<div class="text">
<div style="white-space: nowrap;">%%gui.welcome%%</div>
<div class="versions">
- <div id="vpVersion">Viper version: x.x.x</div>
- <div id="nsVersion">Northstar version: x.x.x</div>
+ <div id="vpVersion"></div>
+ <div id="nsVersion"></div>
</div>
</div>
<div class="buttons">
diff --git a/src/app/main.js b/src/app/main.js
index ab41af6..765b143 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -35,11 +35,11 @@ ipcRenderer.on("newpath", (event, newpath) => {
settings.gamepath = newpath;
})
-ipcRenderer.on('versionInfo', (_, payload) => {
- document.getElementById('vpVersion').innerText = `Viper version: ${payload.vp}`;
- document.getElementById('nsVersion').innerText = `Northstar version: ${payload.ns}`;
+ipcRenderer.on("version", (_, payload) => {
+ document.getElementById("vpVersion").innerText = "Viper version:" + payload.vp;
+ document.getElementById("nsVersion").innerText = "Northstar version: " + payload.ns;
});
-ipcRenderer.send('getVersionInfo');
+ipcRenderer.send("getversion");
setlang();
setInterval(() => {