From 5586c2955721971a99feb2991f4b7156f075a4fb Mon Sep 17 00:00:00 2001 From: TheTank20 <57580668+thepwrtank18@users.noreply.github.com> Date: Wed, 23 Jul 2025 10:13:22 -0500 Subject: [PATCH] Update windows-x86-x64.yml --- .github/workflows/windows-x86-x64.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-x86-x64.yml b/.github/workflows/windows-x86-x64.yml index c0faa4c..b0c16a9 100644 --- a/.github/workflows/windows-x86-x64.yml +++ b/.github/workflows/windows-x86-x64.yml @@ -194,8 +194,8 @@ jobs: New-Item -ItemType Directory -Path 'C:\ResourceHacker' New-Item -ItemType Directory -Path 'C:\UPX' Write-Host Copying files... - Start-Process '7z' -ArgumentList 'x C:\Windows\temp\resource_hacker.zip -oC:\ResourceHacker -y' -Wait - Start-Process '7z' -ArgumentList 'x C:\Windows\temp\upx.zip -o C:\UPX -y' -Wait + Expand-Archive -Path 'C:\Windows\temp\resource_hacker.zip' -DestinationPath 'C:\ResourceHacker' + Expand-Archive -Path 'C:\Windows\temp\upx.zip' -DestinationPath 'C:\UPX' Write-Host Adding environment variables... $env:PATH = 'C:\ResourceHacker;' + 'C:\UPX\upx-5.0.2-win64;' + $env:PATH [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine)