Update to build system so people can build in release mode without needing signing

This commit is contained in:
Martin Barker
2023-02-24 01:53:01 +00:00
parent 767c2ddad2
commit 45d41e11f4
6 changed files with 628 additions and 15 deletions

View File

@@ -72,9 +72,14 @@ $appArgs = 'sign',
$appArgs = $appArgs + $files;
#run the signtool
signtool $appArgs;
#signtool $appArgs;
# once files are signed package into zip
Get-ChildItem './' | where { $_.Name -notin 'sign.ps1'} | Compress-Archive -DestinationPath 'Twitchy.zip' -Update
iscc ../../../../setup.iss
$setupArgs =
'/pu+',
'/DSourceDir=TwitchDesktopNotifications\bin\x64\ReleaseSign\net6.0-windows10.0.17763.0\',
'../../../../../setup.iss';
iscc $setupArgs
Exit $LASTEXITCODE