Update build-windows.yml

This commit is contained in:
Evan Su 2024-06-18 20:45:56 -04:00 committed by GitHub
parent 8e20d7d4ad
commit 9f896a30a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,10 +39,12 @@ jobs:
Invoke-WebRequest -OutFile reshacker_setup.zip https://github.com/user-attachments/files/15893917/reshacker_setup.zip
Expand-Archive -DestinationPath reshacker_setup reshacker_setup.zip
reshacker_setup/reshacker_setup.exe /SILENT
"C:\Program Files (x86)\Resource Hacker\ResourceHacker.exe" -open Picocrypt.exe -save new.exe -action add -res images/key.ico -mask ICONGROUP,MAINICON,
& "$env:RH" -open Picocrypt.exe -save new.exe -action add -res images/key.ico -mask ICONGROUP,MAINICON,
Start-Sleep -Seconds 10
del Picocrypt.exe
mv new.exe Picocrypt.exe
env:
RH: "C:\\Program Files (x86)\\Resource Hacker\\ResourceHacker.exe"
- name: Compress with upx
shell: pwsh