spawn desktop quickly (#11011)

Give the desktop app a hint to start fast.
This commit is contained in:
Daniel Hiltgen
2025-06-08 09:34:52 -07:00
committed by GitHub
parent fc0309615e
commit feeabdadd2
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ func startApp(ctx context.Context, client *api.Client) error {
}
cmd_path := "c:\\Windows\\system32\\cmd.exe"
cmd := exec.Command(cmd_path, "/c", appExe, "hidden")
cmd := exec.Command(cmd_path, "/c", appExe, "--hide", "--fast-startup")
cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: 0x08000000, HideWindow: true}
cmd.Stdin = strings.NewReader("")