From dd63caf5aaa53780c64d9b0cffbabc2b97e8acfc Mon Sep 17 00:00:00 2001 From: LRFLEW Date: Fri, 12 Aug 2016 18:18:26 -0500 Subject: [PATCH] Disable NTFS Timestamps on Windows zip distributions --- scripts/ps/publish.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ps/publish.ps1 b/scripts/ps/publish.ps1 index 9c42f240e8..85cd9f5442 100644 --- a/scripts/ps/publish.ps1 +++ b/scripts/ps/publish.ps1 @@ -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