From 1e9d167597135b3cd8034e5f52913d3eddd3ea1a Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Sat, 14 Sep 2019 21:46:01 +0000 Subject: [PATCH] builder: pause before codesigning for win targets Pause before `pass` asks for the `gpg` passphrase to retrieve the password to unlock the windows codesigning certificate. This is so that the user does not have `gpg` time out waiting for the passphrase. Signed-off-by: Rafael Kitover --- tools/builder/core.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/builder/core.sh b/tools/builder/core.sh index e1fc2797..e1406093 100644 --- a/tools/builder/core.sh +++ b/tools/builder/core.sh @@ -2667,6 +2667,9 @@ build_project() { mv visualboyadvance-m.exe visualboyadvance-m-unsigned.exe + message 'Press ENTER to use your GPG passphrase to unlock your code-signing certificate...' + read -r dummy + osslsigncode sign -pkcs12 ~/.codesign/windows_comodo.pkcs12 -pass "$(pass vbam-windows-codesign-cert)" \ -n visualboyadvance-m -i https://github.com/visualboyadvance-m/visualboyadvance-m \ -in visualboyadvance-m-unsigned.exe -out visualboyadvance-m.exe || cp visualboyadvance-m-unsigned.exe visualboyadvance-m.exe