Skip to content
Permalink
Browse files

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>
  • Loading branch information
rkitover committed Sep 14, 2019
1 parent 0af5965 commit 1e9d167597135b3cd8034e5f52913d3eddd3ea1a
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit 1e9d167

Please sign in to comment.
You can’t perform that action at this time.