mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Never update archive, always replace
This commit is contained in:
parent
d764bb32be
commit
779ab86637
@ -224,7 +224,8 @@ try {
|
||||
Write-Output "> 7z.exe $($argList -join " ")"
|
||||
Write-Output ""
|
||||
|
||||
} else {
|
||||
} else {
|
||||
Remove-Item -Path $zipdst -Force
|
||||
$proc = Start-Process "7z.exe" $argList -Wait -PassThru -NoNewWindow
|
||||
if ($proc.ExitCode -ne 0) {
|
||||
throw "7-Zip failed!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user