fix: honor SSH agent opt-out

This commit is contained in:
bincxz committed 2026-07-12 17:49:57 +08:00
1 parent 7cb722a5c5
commit 0046291376
14 files changed
+61 -13

No files matched your search

+2 -2
View File
@@ -231,8 +231,8 @@ function createPreloadApi(ctx) {
generateKeyPair: async (options) => {
return ipcRenderer.invoke("netcatty:key:generate", options);
},
checkSshAgent: async (identityAgent) => {
return ipcRenderer.invoke("netcatty:ssh:check-agent", identityAgent);
checkSshAgent: async (options) => {
return ipcRenderer.invoke("netcatty:ssh:check-agent", options);
},
getDefaultKeys: async () => {
return ipcRenderer.invoke("netcatty:ssh:get-default-keys");