Skip to content
Merged
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
4 changes: 2 additions & 2 deletions Sources/CodeEditCLI/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import ArgumentParser
import Foundation
import AppKit

extension CodeEditCLI {
struct Version: ParsableCommand {
Expand All @@ -20,7 +20,7 @@ extension CodeEditCLI {
print("CodeEditCLI: \t\(CLI_VERSION)")

// File URL of CodeEdit.app
let appURL = URL(fileURLWithPath: "/Applications/CodeEdit.app")
let appURL = NSWorkspace.shared.urlForApplication(withBundleIdentifier: "austincondiff.CodeEdit")

// Check if there is an Info.plist inside CodeEdit.app
// Then get the version number and print it out
Expand Down
2 changes: 1 addition & 1 deletion Sources/CodeEditCLI/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Foundation
// ##################################################
// This needs to be changed prior to every release!
// ##################################################
let CLI_VERSION = "0.0.7"
let CLI_VERSION = "0.0.8"

struct CodeEditCLI: ParsableCommand {
static let configuration = CommandConfiguration(
Expand Down