From fdb5fdfadd81541012876fd7bc112a8120a66b95 Mon Sep 17 00:00:00 2001 From: "SPRINX0\\prochazka" Date: Mon, 9 Sep 2024 16:54:11 +0200 Subject: [PATCH] fix --- packages/web/src/utility/appUpdate.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web/src/utility/appUpdate.ts b/packages/web/src/utility/appUpdate.ts index 60a2e178..a5ad236f 100644 --- a/packages/web/src/utility/appUpdate.ts +++ b/packages/web/src/utility/appUpdate.ts @@ -1,3 +1,4 @@ +import invalidateCommands from '../commands/invalidateCommands'; import { appUpdaterActive, appUpdateStatus } from '../stores'; import getElectron from './getElectron'; import { showSnackbar } from './snackbar'; @@ -46,5 +47,6 @@ export function initializeAppUpdates() { electron.addEventListener('setAppUpdaterActive', (e, error) => { appUpdaterActive.set(true); + invalidateCommands(); }); }