Change hard-coded bundleID to automatically retrieved one (#202)

This commit is contained in:
lavalleeale
2021-01-18 20:08:52 -08:00
committed by GitHub
parent 8dfabd35aa
commit dca340ad40
6 changed files with 20 additions and 12 deletions

View File

@@ -0,0 +1,7 @@
import Foundation
extension Bundle {
public var agentBundleID: String {(self.bundleIdentifier?.replacingOccurrences(of: "Host", with: "SecretAgent"))!}
public var hostBundleID: String {(self.bundleIdentifier?.replacingOccurrences(of: "SecretAgent", with: "Host"))!}
}