aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-06-29 21:36:53 +0200
committer0neGal <mail@0negal.com>2022-06-29 21:36:53 +0200
commit3c09709b8f7cfb85b82d3d53feb81a74a5103135 (patch)
tree72d7ade317a15a486d269b224f250acd1e6f858c /src/utils.js
parent224a3cfd05164f14aea0c8584ac211d4720e17ea (diff)
downloadViper-3c09709b8f7cfb85b82d3d53feb81a74a5103135.tar.gz
Viper-3c09709b8f7cfb85b82d3d53feb81a74a5103135.zip
fixed version number not updating after updates
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
index b6622d9..e0f3a6f 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -413,6 +413,7 @@ async function update() {
restoreExcludedFiles();
ipcMain.emit("gui-getmods");
+ ipcMain.emit("get-version");
ipcMain.emit("ns-update-event", "cli.update.uptodate.short");
winLog(lang("gui.update.finished"));
console.log(lang("cli.update.finished"));