Skip to content

Commit

Permalink
feat(windows): start gpg-agent on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Oct 21, 2024
1 parent 5bf5c9a commit 217f3a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file added gpg4win/gpg-connect-agent.exe.lnk
Binary file not shown.
5 changes: 4 additions & 1 deletion gpg4win/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ if (!$DRY_RUN) {
New-Item -ItemType Directory -Force -Path "$dir" > $null
}

Copy-Item -Path "$PSScriptRoot\gpg-agent.conf" -Destination "$dir\gpg-agent.conf"
Copy-Item -Path "$PSScriptRoot\gpg-agent.conf" -Destination "$dir\gpg-agent.conf"

# Run gpg-agent on startup
Copy-Item -Path "$PSScriptRoot\gpg-connect-agent.exe.lnk" -Destination "$Env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\gpg-connect-agent.exe.lnk"

0 comments on commit 217f3a7

Please sign in to comment.