Skip to content

Commit

Permalink
builder: pause before codesigning for win targets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rkitover committed Sep 14, 2019
1 parent 0af5965 commit 1e9d167
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/builder/core.sh
Expand Up @@ -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
Expand Down

0 comments on commit 1e9d167

Please sign in to comment.