Update build-windows.yml

This commit is contained in:
Evan Su 2024-06-18 22:24:44 -04:00 committed by GitHub
parent dce4f6189f
commit a8ea330915
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,9 +40,9 @@ jobs:
Expand-Archive -DestinationPath reshacker_setup reshacker_setup.zip Expand-Archive -DestinationPath reshacker_setup reshacker_setup.zip
reshacker_setup/reshacker_setup.exe /SILENT reshacker_setup/reshacker_setup.exe /SILENT
Start-Sleep -Seconds 20 Start-Sleep -Seconds 20
cd src Invoke-Expression "& `"$Env:P`" -open src/out.exe -save src/new.exe -action add -res images/key.ico -mask ICONGROUP,MAINICON,"
Invoke-Expression "& `"$Env:P`" -open out.exe -save new.exe -action add -res images/key.ico -mask ICONGROUP,MAINICON,"
Start-Sleep -Seconds 10 Start-Sleep -Seconds 10
cd src
ls ls
cat resourcehacker.log cat resourcehacker.log
ren new.exe Picocrypt.exe ren new.exe Picocrypt.exe