Unencrpyted before building
This commit is contained in:
parent
8f96523132
commit
1953faf929
1 changed files with 8 additions and 11 deletions
|
@ -1,5 +1,13 @@
|
||||||
pip install -r build\requirements.txt
|
pip install -r build\requirements.txt
|
||||||
|
|
||||||
|
# sign binary
|
||||||
|
nuget install secure-file -ExcludeVersion
|
||||||
|
secure-file\tools\secure-file -decrypt build\lbry3.pfx.enc -secret "$env:pfx_key"
|
||||||
|
Write-Host "Testing for lbry3"
|
||||||
|
Test-Path build\lbry3.pfx
|
||||||
|
|
||||||
|
# & ${env:SIGNTOOL_PATH} sign /f build\lbry3.pfx /p "$env:key_pass" /tr http://tsa.starfieldtech.com /td SHA256 /fd SHA256 dist\*.exe
|
||||||
|
|
||||||
# Get the latest stable version of Node.js or io.js
|
# Get the latest stable version of Node.js or io.js
|
||||||
Install-Product node $env:nodejs_version
|
Install-Product node $env:nodejs_version
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
|
@ -21,19 +29,8 @@ Expand-Archive daemon.zip -DestinationPath static\daemon\
|
||||||
dir static\daemon\ # verify that daemon binary is there
|
dir static\daemon\ # verify that daemon binary is there
|
||||||
rm daemon.zip
|
rm daemon.zip
|
||||||
|
|
||||||
|
|
||||||
# build electron app
|
# build electron app
|
||||||
yarn dist
|
yarn dist
|
||||||
dir dist # verify that binary was built/named correctly
|
dir dist # verify that binary was built/named correctly
|
||||||
|
|
||||||
|
|
||||||
# sign binary
|
|
||||||
nuget install secure-file -ExcludeVersion
|
|
||||||
secure-file\tools\secure-file -decrypt build\lbry3.pfx.enc -secret "$env:pfx_key"
|
|
||||||
Write-Host "Testing for lbry3"
|
|
||||||
Test-Path build\lbry3.pfx
|
|
||||||
|
|
||||||
# & ${env:SIGNTOOL_PATH} sign /f build\lbry3.pfx /p "$env:key_pass" /tr http://tsa.starfieldtech.com /td SHA256 /fd SHA256 dist\*.exe
|
|
||||||
|
|
||||||
|
|
||||||
python build\upload_assets.py
|
python build\upload_assets.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue