1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-24 19:13:31 +03:00

gpg4win support maybe?

This commit is contained in:
Eugene Pankov 2022-01-31 22:19:39 +01:00
parent be3bae3a6f
commit b234300bd8
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -125,7 +125,10 @@ export class SSHSession {
if (await fs.exists(WINDOWS_OPENSSH_AGENT_PIPE)) {
this.agentPath = WINDOWS_OPENSSH_AGENT_PIPE
} else {
if (await this.platform.isProcessRunning('pageant.exe')) {
if (
await this.platform.isProcessRunning('pageant.exe') ||
await this.platform.isProcessRunning('gpg-agent.exe')
) {
this.agentPath = 'pageant'
}
}