From d0146d027d0b4a440d25c0213b765456b21188d1 Mon Sep 17 00:00:00 2001 From: ospab Date: Fri, 15 May 2026 01:02:18 +0300 Subject: [PATCH] Fix: Enforce local filesystem touch on ostp.exe to override inherited build server timestamps after zip expansions. --- scripts/install.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 4ded685..db27fbb 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -99,6 +99,8 @@ if ($exeFile) { Start-Sleep -Seconds 1 Copy-Item -Path $exeFile.FullName -Destination (Join-Path $InstallDir "ostp.exe") -Force + # Force file system timestamps to current local time to reflect successful execution + (Get-Item (Join-Path $InstallDir "ostp.exe")).LastWriteTime = [DateTime]::Now Write-Host "Executable successfully deployed to $(Join-Path $InstallDir 'ostp.exe')." } else { Write-Error "Binary file ostp.exe not found in archive package."