File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
import ArgumentParser
9
- import Foundation
9
+ import AppKit
10
10
11
11
extension CodeEditCLI {
12
12
struct Version : ParsableCommand {
@@ -20,7 +20,7 @@ extension CodeEditCLI {
20
20
print ( " CodeEditCLI: \t \( CLI_VERSION) " )
21
21
22
22
// File URL of CodeEdit.app
23
- let appURL = URL ( fileURLWithPath : " /Applications/CodeEdit.app " )
23
+ let appURL = NSWorkspace . shared . urlForApplication ( withBundleIdentifier : " austincondiff.CodeEdit " )
24
24
25
25
// Check if there is an Info.plist inside CodeEdit.app
26
26
// Then get the version number and print it out
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import Foundation
11
11
// ##################################################
12
12
// This needs to be changed prior to every release!
13
13
// ##################################################
14
- let CLI_VERSION = " 0.0.7 "
14
+ let CLI_VERSION = " 0.0.8 "
15
15
16
16
struct CodeEditCLI : ParsableCommand {
17
17
static let configuration = CommandConfiguration (
You can’t perform that action at this time.
0 commit comments