aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/js/update.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/js/update.js b/src/app/js/update.js
index 034f3e8..6aa1b6d 100644
--- a/src/app/js/update.js
+++ b/src/app/js/update.js
@@ -60,6 +60,9 @@ ipcRenderer.on("ns-update-event", (event, options) => {
delay = 500 - (now - update.ns.last_checked);
}
+ // request up-to-date version numbers
+ ipcRenderer.send("get-version");
+
// wait `delay`ms
setTimeout(() => {
// set buttons accordingly