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)