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

This commit is contained in:
lavalleeale authored and GitHub committed 2021-01-18 20:08:52 -08:00
1 parent 8dfabd35aa
commit dca340ad40
6 files changed
+20 -12

No files matched your search

+7
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"))!}
}