From 44d5f1264cfdf18ab3dd3d95f4af3b0fab47a2b6 Mon Sep 17 00:00:00 2001 From: leoars <6502186+leoars@users.noreply.github.com> Date: Mon, 2 Nov 2026 13:52:39 -0300 Subject: [PATCH] =?UTF-8?q?[Claude]=20L=C3=AA=20a=20milestone=20de=20insta?= =?UTF-8?q?ller/release.json=20no=20teste=20do=20instalador=20gr=C3=A1fico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O teste fixava versions/M1008 e falhava com o instalador da alpha.3 depois de instalar, deixando a instalação de teste registrada. Agora usa a Milestone do release.json. Co-Authored-By: Claude Opus 5.5 --- scripts/Test-GraphicalInstaller.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Test-GraphicalInstaller.ps1 b/scripts/Test-GraphicalInstaller.ps1 index 110cb12..09d4d0b 100644 --- a/scripts/Test-GraphicalInstaller.ps1 +++ b/scripts/Test-GraphicalInstaller.ps1 @@ -34,7 +34,8 @@ New-Item -ItemType Junction -Path $linked -Target $unmanaged | Out-Null Assert ((Run-Setup $linked 'junction') -ne 0) 'Refuses linked target' Assert ((Run-Setup $target 'install') -eq 0) 'Current-user installation succeeds' Assert (Test-Path -LiteralPath $key) 'Registers native uninstaller' -$payload = Join-Path $target 'versions/M1008' +$milestone = (Get-Content (Join-Path $root 'installer/release.json') -Raw | ConvertFrom-Json).Milestone +$payload = Join-Path $target "versions/$milestone" & (Join-Path $PSScriptRoot 'Verify-Package.ps1') -PackagePath $payload | Out-Null Assert $true 'Installed payload matches complete frozen manifest' $shell = New-Object -ComObject WScript.Shell