Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhiskyCmd: fix the run command #1264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kkHAIKE
Copy link

@kkHAIKE kkHAIKE commented Dec 19, 2024

FIX: #1088
FIX: #1140

Fix two issues related to the run command:

  1. program.runInTerminal would launch AppleScript asynchronously via a coroutine, but the main process had already exited, preventing it from starting. Added RunLoop.main.run() to make the main process wait until the execution is completed.
  2. In program.runInTerminal, double quotes in the environment variables within wineCmd need to be escaped again.

PS: Sometimes, when the Whisky main UI runs for an extended period, it causes High CPU usage. To restore normal operation, the Whisky application itself needs to be closed (without closing the Wine-launched Windows application). The cause has not yet been identified.

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.

[Bug]: WhiskyCmd not launching my game [Bug]: WhiskyCmd run fails to start an app
1 participant