From 05cf121666802b68542b4eaae78f8425f8cf1c5b Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 28 May 2026 23:52:52 +0300 Subject: [PATCH] fix(installer): open WebUI once after "Launch LedGrab" The finish-page launch action started the app and also opened http://localhost:8080/ itself, but the app already auto-opens the browser on a manual (non-autostart) launch, so the page appeared twice. Drop the installer's redundant open and let the app handle it (it waits on /health, which is more reliable than a fixed sleep). --- build/installer.nsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/installer.nsi b/build/installer.nsi index 4c1ceca..a857eb1 100644 --- a/build/installer.nsi +++ b/build/installer.nsi @@ -56,9 +56,10 @@ SetCompressor /SOLID lzma ; ── Functions ───────────────────────────────────────────── Function LaunchApp + ; Only launch the app — do NOT open the browser here. A manual launch (no + ; --autostart) makes the app open the WebUI itself once /health responds, + ; so opening the URL here too made the page appear twice. ExecShell "open" "wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' - Sleep 2000 - ExecShell "open" "http://localhost:8080/" FunctionEnd ; Detect running instance before install (file lock check on python.exe)