Skip to content

Commit 5fc9364

Browse files
committed
Stabilize ARM64 launch proof
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3f88934d-97c9-4f4f-9dbd-19827ea2a3cd
1 parent 2ee07ce commit 5fc9364

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎run-app-local.ps1‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ if ([string]::IsNullOrWhiteSpace($RuntimeIdentifier)) {
186186
$outputDir = Join-Path $repoRoot "src\OpenClaw.Tray.WinUI\bin\$Configuration\$targetFramework\$RuntimeIdentifier"
187187
$exePath = Join-Path $outputDir "OpenClaw.Tray.WinUI.exe"
188188
$identityMarkerPath = Join-Path $outputDir "app-identity.txt"
189+
Write-Host "Selected runtime: $RuntimeIdentifier"
189190

190191
if (-not (Test-Path $outputDir)) {
191192
throw "Build output folder not found: $outputDir. Run without -NoBuild first."

‎tests/OpenClaw.Tray.Tests/InstallerIssAssertionTests.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ public async Task RunAppLocal_ExplicitArm64Runtime_WinsOverEmulatedX64Shell()
242242
await process.WaitForExitAsync().WaitAsync(TimeSpan.FromSeconds(30));
243243
var result = $"{await standardOutput}{Environment.NewLine}{await standardError}";
244244

245-
Assert.Contains(@"\win-arm64", result, StringComparison.OrdinalIgnoreCase);
246-
Assert.DoesNotContain(@"\win-x64", result, StringComparison.OrdinalIgnoreCase);
245+
Assert.Contains("Selected runtime: win-arm64", result, StringComparison.Ordinal);
246+
Assert.DoesNotContain("Selected runtime: win-x64", result, StringComparison.Ordinal);
247247
}
248248

249249
[Theory]

0 commit comments

Comments
 (0)