Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()
Comment thread
kkHAIKE marked this conversation as resolved.
}
}

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