From fa43e17b308730cf569fb3d4e3fb81c156dafde8 Mon Sep 17 00:00:00 2001 From: Dmytro Vasin Date: Sun, 29 Sep 2024 13:57:35 +0200 Subject: [PATCH] Reset store on update + Small changes --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 6b4d0f6..b7f709c 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -80,7 +80,7 @@ function updateContextMenu() { { label: 'Update and Restart', click: () => { - store.set('new_version_released', false) + store.clear() autoUpdater.quitAndInstall() } }