Skip to content

Commit

Permalink
WhiskyCmd: fix the run command
Browse files Browse the repository at this point in the history
  • Loading branch information
kkHAIKE committed Dec 19, 2024
1 parent ce04b25 commit d68b3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions WhiskyCmd/Main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ extension Whisky {
let url = URL(fileURLWithPath: path)
let program = Program(url: url, bottle: bottle)
program.runInTerminal()
RunLoop.main.run()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ extension Program {

public func runInTerminal() {
let wineCmd = generateTerminalCommand().replacingOccurrences(of: "\\", with: "\\\\")
.replacingOccurrences(of: "\"", with: "\\\"")

let script = """
tell application "Terminal"
Expand Down

0 comments on commit d68b3c8

Please sign in to comment.