Skip to content

Commit

Permalink
Add code signing prompt to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
cammm committed Mar 7, 2019
1 parent 7536c0a commit faa9c93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
@echo off
cd %~dp0
set /p CODESIGN_CERT="CODESIGN_CERT: "
set /p CODESIGN_PASS="CODESIGN_PASS: "
pip install pipenv
pipenv install --skip-lock
pipenv run pip install pyinstaller==3.4
pipenv run pyinstaller build.spec --noconfirm --workpath=out/build --distpath=out/dist
signtool.exe sign /f "%CODESIGN_CERT%" /p "%CODESIGN_PASS%" /t http://timestamp.digicert.com out\dist\LeagueDirector\LeagueDirector.exe
ISCC.exe install.iss
signtool.exe sign /f "%CODESIGN_CERT%" /p "%CODESIGN_PASS%" /t http://timestamp.digicert.com out\LeagueDirectorSetup.exe

0 comments on commit faa9c93

Please sign in to comment.