From dd12bb46f386080fa1c76840c6fbd74ae54934e4 Mon Sep 17 00:00:00 2001 From: Ludvig Michaelsson Date: Thu, 29 Feb 2024 08:40:29 +0100 Subject: [PATCH] xxx --- windows/cygwin.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/windows/cygwin.ps1 b/windows/cygwin.ps1 index f6c7549f..9494310f 100755 --- a/windows/cygwin.ps1 +++ b/windows/cygwin.ps1 @@ -31,8 +31,15 @@ if (-Not (Test-Path $GPG)) { throw "Unable to find GPG at $GPG" } +$GPGTOGGLE = $(Get-Command gpg-disable-keyboxd -ErrorAction Ignore | ` + Select-Object -ExpandProperty Source) +if (-Not (Test-Path $GPGTOGGLE)) { + throw "Unable to find GPG at $GPGTOGGLE" +} + Write-Host "Config: $Config" Write-Host "GPG: $GPG" +Write-Host "GPGTOGGLE: $GPGTOGGLE" # Create work directories. New-Item -Type Directory "${Cygwin}" -Force