mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-12 21:58:31 +02:00
Update build-windows.yml
This commit is contained in:
parent
292fbc6b5e
commit
9606a32d54
1 changed files with 8 additions and 8 deletions
16
.github/workflows/build-windows.yml
vendored
16
.github/workflows/build-windows.yml
vendored
|
@ -44,17 +44,17 @@ 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
|
||||
Start-Sleep -Seconds 30
|
||||
Invoke-Expression "& `"$Env:P`" -open src/1.exe -save src/2.exe -action addoverwrite -res images/key.ico -mask `"ICONGROUP,MAINICON,`""
|
||||
Start-Sleep -Seconds 10
|
||||
Invoke-Expression "& `"$Env:P`" -open src/2.exe -save src/3.exe -action addoverwrite -res images/key.ico -mask `"ICONGROUP,GLFW_ICON,`""
|
||||
Start-Sleep -Seconds 10
|
||||
# Invoke-Expression "& `"$Env:P`" -open src/1.exe -save src/2.exe -action addoverwrite -res images/key.ico -mask `"ICONGROUP,MAINICON,`""
|
||||
# Start-Sleep -Seconds 5
|
||||
Invoke-Expression "& `"$Env:P`" -open src/1.exe -save src/3.exe -action addoverwrite -res images/key.ico -mask `"ICONGROUP,GLFW_ICON,`""
|
||||
Start-Sleep -Seconds 5
|
||||
Invoke-Expression "& `"$Env:P`" -open src/3.exe -save src/4.exe -action addoverwrite -res dist/windows/manifest.xml -mask `"MANIFEST,1,`""
|
||||
Start-Sleep -Seconds 5
|
||||
Start-Sleep -Seconds 10
|
||||
Invoke-Expression "& `"$Env:P`" -open dist/windows/versioninfo.rc -save resources.res -action compile
|
||||
Start-Sleep -Seconds 5
|
||||
Start-Sleep -Seconds 10
|
||||
Invoke-Expression "& `"$Env:P`" -open src/4.exe -save src/5.exe -action addoverwrite -res resources.res
|
||||
Start-Sleep -Seconds 5
|
||||
Start-Sleep -Seconds 10
|
||||
env:
|
||||
P: "C:\\Program Files (x86)\\Resource Hacker\\ResourceHacker.exe"
|
||||
|
||||
|
@ -64,7 +64,7 @@ jobs:
|
|||
Invoke-WebRequest -OutFile upx.zip https://github.com/user-attachments/files/15894908/upx-4.2.4-win64.zip
|
||||
Expand-Archive upx.zip -DestinationPath upx
|
||||
ls src
|
||||
upx/upx-4.2.4-win64/upx.exe --lzma --brute -o src/Picocrypt.exe src/4.exe
|
||||
upx/upx-4.2.4-win64/upx.exe --lzma --brute -o src/Picocrypt.exe src/5.exe
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Add table
Reference in a new issue