mirror of
https://github.com/insidegui/VirtualBuddy.git
synced 2026-12-04 13:30:13 +08:00
Add versioning to scheme bindings, refer to VirtualBuddy components by a stable symlinked location, store scheme URLs so that app can potentially migrate schemes in the future
This commit is contained in:
@@ -5,7 +5,10 @@ public enum VirtualBuddyDebugging {
|
||||
public static let host = DebugHostConfiguration(
|
||||
applicationURL: Bundle.main.bundleURL,
|
||||
helperURL: Bundle.main.bundleURL.appendingPathComponent("Contents/MacOS/vbdebug"),
|
||||
runtimeDirectory: URL(fileURLWithPath: "/private/tmp/vbdebug-\(getuid())", isDirectory: true)
|
||||
runtimeDirectory: URL(fileURLWithPath: "/private/tmp/vbdebug-\(getuid())", isDirectory: true),
|
||||
// Xcode schemes created by earlier versions refer to this directory. Do not move it.
|
||||
linksDirectory: FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask)[0]
|
||||
.appendingPathComponent("codes.rambo.VirtualBuddy/XcodeDebugging", isDirectory: true)
|
||||
)
|
||||
|
||||
public static let bindings = KeychainDebugBindingStore(
|
||||
|
||||
Reference in New Issue
Block a user