fix(control): sometimes could not start browser

This commit is contained in:
2026-01-15 15:16:02 +01:00
parent 662bcb3b8d
commit e2a9558d3f
5 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func main() {
// the order is important, the open browser command exitsts as soon as the winodw is closed
// and since its the last action in the main go func all other goroutines (e.g. the webserver) are killed
go web.StartWebServer(shared.Version, port)
err = shared.OpenBrowserWindow("http://localhost:"+port, true, true)
err = shared.OpenBrowserWindow("http://localhost:"+port, true)
if err != nil {
slog.Error("Failed to open browser window", "error", err)
os.Exit(1)