File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
26
26
}
27
27
28
28
func application( _: NSApplication , open urls: [ URL ] ) {
29
- if Process . runCommand ( " docker " ) . terminationStatus != 0 {
29
+ if Process . runCommand ( " docker " , " --version " ) . terminationStatus != 0 {
30
30
return
31
31
}
32
32
if let url = urls. first, let stream = ExtractStream . from ( applicationURL: url) {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class MainMenu: NSMenu {
45
45
}
46
46
47
47
override func update( ) {
48
- let canPlay = Process . runCommand ( " docker " ) . terminationStatus == 0
48
+ let canPlay = Process . runCommand ( " docker " , " --version " ) . terminationStatus == 0
49
49
for menu in partialMenus {
50
50
menu. update ( canPlay: canPlay)
51
51
}
You can’t perform that action at this time.
0 commit comments