From 0f85b259cd56e0751ed486d0f262fe25553d31dc Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sun, 15 Nov 2026 00:54:18 +0800 Subject: [PATCH] test: check retained state inside the actual configuration tree --- scripts/test-windows-installer.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-windows-installer.ps1 b/scripts/test-windows-installer.ps1 index 617f496..8eb0c0e 100644 --- a/scripts/test-windows-installer.ps1 +++ b/scripts/test-windows-installer.ps1 @@ -23,7 +23,7 @@ foreach ($name in @('gpgui.exe', 'gpauth.exe')) { $process = Start-Process (Join-Path $destination $name) -ArgumentList '--version' -PassThru -Wait if ($process.ExitCode -ne 0) { throw "The installed $name cannot start." } } -$state = Join-Path $env:LOCALAPPDATA 'GP Connect' +$state = Join-Path $env:LOCALAPPDATA 'GP Connect\config\protected-state' New-Item -ItemType Directory -Force $state | Out-Null $marker = Join-Path $state 'ci-install-retention' [IO.File]::WriteAllText($marker, 'retain user settings')