1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Disable NTFS Timestamps on Windows zip distributions

This commit is contained in:
LRFLEW
2016-08-12 18:18:26 -05:00
committed by Ted John
parent 572999e8e3
commit dd63caf5aa

View File

@@ -129,7 +129,7 @@ function Do-Symbols()
return 1
}
}
& $7zcmd a -tzip -mx9 $outZip "$artifactsDir\openrct2.pdb" "$artifactsDir\openrct2.dll" > $null
& $7zcmd a -tzip -mx9 -mtc=off $outZip "$artifactsDir\openrct2.pdb" "$artifactsDir\openrct2.dll" > $null
if ($LASTEXITCODE -ne 0)
{
Write-Host "Failed to create zip." -ForegroundColor Red
@@ -175,7 +175,7 @@ function Do-Package()
return 1
}
}
& $7zcmd a -tzip -mx9 $outZip "$tempDir\*" > $null
& $7zcmd a -tzip -mx9 -mtc=off $outZip "$tempDir\*" > $null
if ($LASTEXITCODE -ne 0)
{
Write-Host "Failed to create zip." -ForegroundColor Red