Update main.yml

This commit is contained in:
Kvintilyanov Aleksandr
2025-03-13 13:37:52 +03:00
committed by GitHub
parent c9fa4a8b26
commit 9d3c76f4ad
+1 -3
View File
@@ -24,8 +24,6 @@ jobs:
run: |
$archiveName = "WindeckHelper.exe"
$sfxConfig = @"
;The comment below contains SFX script commands
Path=%TEMP%\Windeckhelper
Silent=1
Overwrite=1
@@ -35,7 +33,7 @@ jobs:
Icon=Windeckicon.ico
"@
Set-Content -Path "sfxconfig.txt" -Value $sfxConfig
& "C:\Program Files\WinRAR\Rar.exe" a -sfx -zsfxconfig.txt -r -ep1 $archiveName *
& "C:\Program Files\WinRAR\WinRAR.exe" a -r -sfx -z"sfx_config.txt" $archiveName *
Remove-Item -Path "sfxconfig.txt"
- name: Upload artifact (for push or PR)