From 9f8634e54897cf391b14e11b75fba8471cd394a1 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Fri, 6 Mar 2020 22:23:51 -0800 Subject: [PATCH] Fix #13 --- Secretive/SetupView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Secretive/SetupView.swift b/Secretive/SetupView.swift index a0bff63..74478d1 100644 --- a/Secretive/SetupView.swift +++ b/Secretive/SetupView.swift @@ -116,7 +116,7 @@ extension SetupView { extension SetupView { enum Constants { - static let socketPath = (NSHomeDirectory() as NSString).appendingPathComponent("socket.ssh") as String + static let socketPath = (NSHomeDirectory().replacingOccurrences(of: "com.maxgoedjen.Secretive.Host", with: "com.maxgoedjen.Secretive.SecretAgent") as NSString).appendingPathComponent("socket.ssh") as String static let socketPrompt = "export SSH_AUTH_SOCK=\(socketPath)" }