fix(all): launch game fullscreen and hide debug overlay

This commit is contained in:
2026-10-03 11:14:03 +08:00
parent 8150ec3e80
commit db1eab764e
6 changed files with 163 additions and 7 deletions
+2 -1
View File
@@ -25,5 +25,6 @@ func launchGame(target string) error {
if err := exec.Command("pgrep", "-x", "BrownDust II").Run(); err == nil {
return errGameAlreadyRunning
}
return exec.Command("open", target).Start()
args := append([]string{target, "--args"}, gameLaunchArguments()...)
return exec.Command("open", args...).Start()
}