Files
ARCADIA-Studio/harness/experiments/scenario-native-service-b10b28c-20260922/original/recipe/recipe-changes.patch
T

14 lines
1.5 KiB
Diff

diff --git a/C:/Users/User/Documents/Git/ARCADIA-Studio/.local/scenario-validation-native-b10b28c-20260913/stage.ps1 b/C:/Users/User/Documents/Git/ARCADIA-Studio/.local/scenario-validation-native-b10b28c-attempt2-20260913/stage.ps1
index 76b29d7..3de93d2 100644
--- a/C:/Users/User/Documents/Git/ARCADIA-Studio/.local/scenario-validation-native-b10b28c-20260913/stage.ps1
+++ b/C:/Users/User/Documents/Git/ARCADIA-Studio/.local/scenario-validation-native-b10b28c-attempt2-20260913/stage.ps1
@@ -18,7 +18,7 @@ $build=Assert-BuildEvidence $Gate
Assert-CurrentNativeSource $Gate
$binary=Get-Item -LiteralPath $build.binary.path
$targetBinary=[IO.Path]::GetFullPath((Join-Path $build.target 'debug/arcadia-studio.exe'))
-if($binary.FullName -ine $targetBinary -or $binary.Length -ne $build.binary.bytes -or (Get-NativeHash $binary.FullName) -cne $build.binary.sha256 -or $binary.LastWriteTimeUtc.ToString('o') -cne $build.binary.mtimeUtc){throw 'Build binary no longer matches successful receipt.'}
+if($binary.FullName -ine $targetBinary -or $binary.Length -ne $build.binary.bytes -or (Get-NativeHash $binary.FullName) -cne $build.binary.sha256 -or $binary.LastWriteTimeUtc.Ticks -ne ([DateTimeOffset]$build.binary.mtimeUtc).UtcDateTime.Ticks){throw 'Build binary no longer matches successful receipt.'}
$runtimeHash='aa282fa47bb2c4e210cea5e470cdbdca58568f0be0bc73e404d86ab9cd95ef6a'
$runtime=Get-Item -LiteralPath $RuntimeDll
if((Get-NativeHash $RuntimeDll) -cne $runtimeHash){throw 'Wrong previously verified runtime DLL.'}