Skip to content

Commit 1da8f1c

Browse files
committed
remove outdated code
1 parent f10a802 commit 1da8f1c

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

Sources/CodeEditCLI/Version.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@ extension CodeEditCLI {
3535
}
3636
}
3737

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-
5238
private func infoPlistUrl(_ url: URL?) -> URL? {
5339
if let url = url?.appendingPathComponent("Contents")
5440
.appendingPathComponent("Info.plist") {

0 commit comments

Comments
 (0)