We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f10a802 commit 1da8f1cCopy full SHA for 1da8f1c
1 file changed
Sources/CodeEditCLI/Version.swift
@@ -35,20 +35,6 @@ extension CodeEditCLI {
35
}
36
37
38
- private func codeEditURLData() throws -> Data {
39
- let task = Process()
40
- let pipe = Pipe()
41
- task.standardOutput = pipe
42
- task.launchPath = "/usr/bin/osascript"
43
-
44
- task.arguments = ["-e"]
45
- task.arguments?.append("POSIX path of (path to application \"CodeEdit\")")
46
47
- try task.run()
48
49
- return pipe.fileHandleForReading.readDataToEndOfFile()
50
- }
51
52
private func infoPlistUrl(_ url: URL?) -> URL? {
53
if let url = url?.appendingPathComponent("Contents")
54
.appendingPathComponent("Info.plist") {
0 commit comments