Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit bcdaf22

Browse files
committed
Copy gpg-wrapper to the tmp dir
1 parent f944910 commit bcdaf22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/git-prompt-server.js

+4
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ export default class GitPromptServer {
3535
const credentialHelper = {};
3636
const askPass = {};
3737
const sshWrapper = {};
38+
const gpgWrapper = {};
3839

3940
const sourceFiles = {
4041
'git-credential-atom.js': outfile => (credentialHelper.script = outfile),
4142
'git-credential-atom.sh': outfile => (credentialHelper.launcher = outfile),
4243
'git-askpass-atom.js': outfile => (askPass.script = outfile),
4344
'git-askpass-atom.sh': outfile => (askPass.launcher = outfile),
4445
'linux-ssh-wrapper.sh': outfile => (sshWrapper.script = outfile),
46+
'gpg-wrapper.sh': outfile => (gpgWrapper.launcher = outfile),
4547
};
4648

4749
await Promise.all(
@@ -60,10 +62,12 @@ export default class GitPromptServer {
6062

6163
return {
6264
socket: windows ? namedPipePath : socketPath,
65+
tmpdir: this.tmpFolderPath,
6366
electron: getAtomHelperPath(),
6467
credentialHelper,
6568
askPass,
6669
sshWrapper,
70+
gpgWrapper,
6771
};
6872
}
6973

0 commit comments

Comments
 (0)