Skip to content

Comments

fix: use child process when launching games#9

Merged
Gustash merged 3 commits intomainfrom
fix/child-process
Dec 9, 2025
Merged

fix: use child process when launching games#9
Gustash merged 3 commits intomainfrom
fix/child-process

Conversation

@Gustash
Copy link
Owner

@Gustash Gustash commented Dec 9, 2025

Also now installs mac games on macOS by default, instead of Windows games. Option is still there if the user wants to download a Windows version.

Copilot AI review requested due to automatic review settings December 9, 2025 18:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances game launching by implementing proper child process management with context support and changes the default install behavior on macOS to prefer native builds over Windows builds.

Key Changes:

  • Added context-aware process management with graceful termination on cancellation
  • Changed macOS install default from Windows to native Mac builds
  • Removed macOS .app bundle-specific launching in favor of direct binary execution

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
launch/launch.go Implements context-aware process launching with process group management and graceful/forceful termination support
cmd_launch.go Integrates context cancellation handling for clean Ctrl+C behavior during game execution
cmd_install.go Updates default OS selection to prefer macOS builds on darwin systems instead of Windows

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Dec 9, 2025

@Gustash I've opened a new pull request, #10, to work on those changes. Once the pull request is ready, I'll request review from you.

@Gustash Gustash merged commit 5030599 into main Dec 9, 2025
3 checks passed
@Gustash Gustash deleted the fix/child-process branch December 9, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants