From 95bfbd4f2f822d85429b31f9d0e575c1980eab9d Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sun, 9 Jun 2024 17:53:33 +0200 Subject: fixed version numbers not updating after update Technically this is also broken on the main branch, however it's a lot easier to just fix here, instead of having to fix it there, then also fix it here, due to the modularization --- src/app/js/update.js | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3