From 6cb3ff80d9821992d03d9594c09d28d7b0768069 Mon Sep 17 00:00:00 2001 From: Anthony Kosednar <541294+akosednar@users.noreply.github.com> Date: Tue, 18 Jan 2022 14:20:03 -0700 Subject: [PATCH 1/4] Corrected FAQ link to Updater.swift source code (#326) --- FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 64ca524..f9535ab 100644 --- a/FAQ.md +++ b/FAQ.md @@ -38,7 +38,7 @@ Awesome! Just bear in mind that because an app only has access to the keychain i ### What's this network request to GitHub? -Secretive checks in with GitHub's releases API to check if there's a new version of Secretive available. You can audit the source code for this feature [here](https://github.com/maxgoedjen/secretive/blob/main/Brief/Updater.swift). +Secretive checks in with GitHub's releases API to check if there's a new version of Secretive available. You can audit the source code for this feature [here](https://github.com/maxgoedjen/secretive/blob/main/Sources/Packages/Sources/Brief/Updater.swift). ### I have a security issue From cb206a18c28965cf37119a0c834a69f6336cf921 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Tue, 18 Jan 2022 16:24:57 -0500 Subject: [PATCH 2/4] Switch (#334) --- Sources/Secretive/Views/SetupView.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/Secretive/Views/SetupView.swift b/Sources/Secretive/Views/SetupView.swift index 9329608..90f1896 100644 --- a/Sources/Secretive/Views/SetupView.swift +++ b/Sources/Secretive/Views/SetupView.swift @@ -22,7 +22,7 @@ struct SetupView: View { } .frame(width: proxy.size.width) } - .offset(x: -proxy.size.width * CGFloat(stepIndex), y: 0) + .offset(x: -proxy.size.width * Double(stepIndex), y: 0) } } } @@ -44,7 +44,7 @@ struct StepView: View { let currentStep: Int // Ideally we'd have a geometry reader inside this view doing this for us, but that crashes on 11.0b7 - let width: CGFloat + let width: Double var body: some View { ZStack(alignment: .leading) { @@ -53,7 +53,7 @@ struct StepView: View { .frame(height: 5) Rectangle() .foregroundColor(.green) - .frame(width: max(0, ((width - (Constants.padding * 2)) / CGFloat(numberOfSteps - 1)) * CGFloat(currentStep) - (Constants.circleWidth / 2)), height: 5) + .frame(width: max(0, ((width - (Constants.padding * 2)) / Double(numberOfSteps - 1)) * Double(currentStep) - (Constants.circleWidth / 2)), height: 5) HStack { ForEach(0.. Date: Wed, 26 Jan 2022 22:19:15 -0500 Subject: [PATCH 3/4] Add setup instructions for GitKraken (#339) --- APP_CONFIG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/APP_CONFIG.md b/APP_CONFIG.md index e141d3e..2f0265d 100644 --- a/APP_CONFIG.md +++ b/APP_CONFIG.md @@ -51,6 +51,30 @@ Add this to `~/Library/LaunchAgents/com.maxgoedjen.Secretive.SecretAgent.plist` Log out and log in again before launching Cyberduck. +## GitKraken + +Add this to `~/Library/LaunchAgents/com.maxgoedjen.Secretive.SecretAgent.plist` + +``` + + + + + Label + link-ssh-auth-sock + ProgramArguments + + /bin/sh + -c + /bin/ln -sf $HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh $SSH_AUTH_SOCK + + RunAtLoad + + + +``` + +Log out and log in again before launching Gitkraken. Then enable "Use local SSH agent in GitKraken Preferences (Located under Preferences -> SSH) # The app I use isn't listed here! From 141cc03b60046dd9b4d7a47f980fe79ef9d4faa6 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sun, 30 Jan 2022 23:44:09 -0800 Subject: [PATCH 4/4] Move presentation of setup view off of toolbar item, since it's not a popover anymore (#340) --- Sources/Secretive/Views/ContentView.swift | 52 +++++++++++------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/Sources/Secretive/Views/ContentView.swift b/Sources/Secretive/Views/ContentView.swift index ec9c23f..c14e48e 100644 --- a/Sources/Secretive/Views/ContentView.swift +++ b/Sources/Secretive/Views/ContentView.swift @@ -32,6 +32,9 @@ struct ContentView