-
-
Notifications
You must be signed in to change notification settings - Fork 426
Expand file tree
/
Copy pathLaunchAgentManager.swift
More file actions
21 lines (20 loc) · 761 Bytes
/
LaunchAgentManager.swift
File metadata and controls
21 lines (20 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import Foundation
import LaunchAgentManager
extension LaunchAgentManager {
init() {
self.init(
serviceIdentifier: Bundle.main
.object(forInfoDictionaryKey: "BUNDLE_IDENTIFIER_BASE") as! String +
".ExtensionService",
executablePath: Bundle.main.bundleURL
.appendingPathComponent("Contents")
.appendingPathComponent("Applications")
.appendingPathComponent(
"CopilotForXcodeExtensionService.app/Contents/MacOS/CopilotForXcodeExtensionService"
)
.path,
bundleIdentifier: Bundle.main
.object(forInfoDictionaryKey: "BUNDLE_IDENTIFIER_BASE") as! String
)
}
}