From ea0c535229f01625f4925d6df1e76253a47b4934 Mon Sep 17 00:00:00 2001 From: igorgudelj Date: Mon, 2 Mar 2026 23:47:08 +0100 Subject: [PATCH] Disable autoInstallOnAppQuit to prevent silent background installs on Windows electron-updater defaults autoInstallOnAppQuit to true, which silently runs the NSIS installer on quit. On Windows this takes several minutes and the user will relaunch the app while files are being replaced, causing the app to get stuck. Fixes NativePHP/desktop#90 --- resources/electron/electron-plugin/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/electron/electron-plugin/src/index.ts b/resources/electron/electron-plugin/src/index.ts index 7eca5b0..2022c95 100644 --- a/resources/electron/electron-plugin/src/index.ts +++ b/resources/electron/electron-plugin/src/index.ts @@ -226,6 +226,7 @@ class NativePHP { }); } + autoUpdater.autoInstallOnAppQuit = false; autoUpdater.checkForUpdatesAndNotify(); } }