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 <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2019-09-14 21:46:01 +00:00
parent 0af5965ee1
commit 1e9d167597
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 3 additions and 0 deletions

View File

@ -2667,6 +2667,9 @@ build_project() {
mv visualboyadvance-m.exe visualboyadvance-m-unsigned.exe 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)" \ osslsigncode sign -pkcs12 ~/.codesign/windows_comodo.pkcs12 -pass "$(pass vbam-windows-codesign-cert)" \
-n visualboyadvance-m -i https://github.com/visualboyadvance-m/visualboyadvance-m \ -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 -in visualboyadvance-m-unsigned.exe -out visualboyadvance-m.exe || cp visualboyadvance-m-unsigned.exe visualboyadvance-m.exe