File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1010 "TargetFramework" : " net472" ,
1111 "Guid" : " BB667EAD-0F00-4B04-8CAE-0CD7A1F1D755" ,
1212 "Favicon" : " ../branding/Logo.png" ,
13- "Icon" : " ./FaviconSetup.png" ,
14- "UnIcon" : " ./FaviconUninst.png" ,
13+ "Icon" : " ./Assets/ FaviconSetup.png" ,
14+ "UnIcon" : " ./Assets/ FaviconUninst.png" ,
1515 "LicenseFile" : " ../LICENSE-GPL.txt" ,
1616 "License" : null ,
1717 "LicenseType" : null ,
Original file line number Diff line number Diff line change @@ -28,11 +28,17 @@ if (-not (Test-Path $makemicaPath)) {
2828}
2929
3030Set-Location $scriptRoot
31+ $releaseDir = Join-Path $scriptRoot " Release"
32+
33+ if (-not (Test-Path $releaseDir )) {
34+ throw " Release output folder not found: $releaseDir "
35+ }
36+
3137Remove-Item .\Package.7z - ErrorAction SilentlyContinue
32- & $sevenZip a Package.7z $scriptRoot \..\src\SecondaryClick\bin\Release\net48\ * - t7z - mx= 9 - ms= on - m0= lzma2 - mf= BCJ2 - r - y
38+ & $sevenZip a Package.7z " $releaseDir \* " - t7z - mx= 9 - ms= on - m0= lzma2 - mf= BCJ2 - r - y
3339& $makemicaPath micasetup.json
3440
35- Compress-Archive $scriptRoot \..\src\SecondaryClick\bin\Release\net48\ * SecondaryClick- $version.zip
41+ Compress-Archive " $releaseDir \* " SecondaryClick- $version.zip
3642Rename-Item .\SecondaryClick.exe SecondaryClick- $version.exe
3743Rename-Item .\Package.7z SecondaryClick- $version.7z
3844
You can’t perform that action at this time.
0 commit comments