mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
13 lines
320 B
Swift
13 lines
320 B
Swift
import Foundation
|
|
|
|
extension URL {
|
|
|
|
static var agentHomeURL: URL {
|
|
URL(fileURLWithPath: URL.homeDirectory.path().replacingOccurrences(of: Bundle.hostBundleID, with: Bundle.agentBundleID))
|
|
}
|
|
|
|
static var socketPath: String {
|
|
URL.agentHomeURL.appendingPathComponent("socket.ssh").path()
|
|
}
|
|
}
|