1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2024-11-28 10:22:24 +01:00
rolens/build/windows/ci_generate.ps1

12 lines
437 B
PowerShell
Raw Normal View History

param([string]$platform)
mkdir releases
wails build -platform windows/amd64 -nsis
Remove-Item build\bin\Rolens.exe
Compress-Archive -Path build\bin\* -DestinationPath releases\rolens-$platform-amd64-installer.zip
Remove-Item -Recurse -Confirm:$false .\build\bin
wails build -platform windows/arm64 -nsis
Remove-Item build\bin\Rolens.exe
Compress-Archive -Path build\bin\* -DestinationPath releases\rolens-$platform-arm64-installer.zip