From faa9c93747304bcd3efc57bf73d3e55bfd378263 Mon Sep 17 00:00:00 2001 From: cammm <81903+cammm@users.noreply.github.com> Date: Thu, 7 Mar 2019 09:40:08 -0800 Subject: [PATCH] Add code signing prompt to build script --- build/build.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/build.bat b/build/build.bat index b27686b..b300472 100644 --- a/build/build.bat +++ b/build/build.bat @@ -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