From 8245af6607d6b9109dc92cdb8274005e27ac8815 Mon Sep 17 00:00:00 2001 From: iChris4 Date: Mon, 21 Sep 2026 02:35:04 +0200 Subject: [PATCH] Fix the Dawn source extraction under Windows PowerShell Windows PowerShell drops the inner double quotes when it builds a native command line, so Python received filter=data as a bare name and the build stopped at extraction with "Python 3.12+ required". Co-Authored-By: Claude Opus 5 --- Launcher/Build-DawnVulkan.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Launcher/Build-DawnVulkan.ps1 b/Launcher/Build-DawnVulkan.ps1 index 8d831ed..3a78a75 100644 --- a/Launcher/Build-DawnVulkan.ps1 +++ b/Launcher/Build-DawnVulkan.ps1 @@ -23,7 +23,9 @@ if ((Get-FileHash -LiteralPath $archive -Algorithm SHA256).Hash.ToLowerInvariant } $source = Join-Path $WorkDirectory "dawn-$revision" if (-not (Test-Path -LiteralPath $source)) { - & $Python -c 'import sys,tarfile; tarfile.open(sys.argv[1]).extractall(sys.argv[2], filter="data")' $archive $WorkDirectory + # Single quotes inside: Windows PowerShell drops the inner double quotes when it builds a + # native command line, and Python then reads filter=data as a name. + & $Python -c "import sys,tarfile; tarfile.open(sys.argv[1]).extractall(sys.argv[2], filter='data')" $archive $WorkDirectory if ($LASTEXITCODE -ne 0) { throw 'Dawn source extraction failed (Python 3.12+ required).' } } $patch = Join-Path $PSScriptRoot '..\aurora-main\patches\dawn\apply.py'