From 41943a2266dfcdff2bfcf199a3c1fd6f53f111b9 Mon Sep 17 00:00:00 2001 From: greepar Date: Sat, 20 Jun 2026 18:35:55 +0800 Subject: [PATCH] Fix Windows build directory creation --- scripts/build-windows-static-graphics.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/build-windows-static-graphics.ps1 b/scripts/build-windows-static-graphics.ps1 index fcfb882..256f267 100644 --- a/scripts/build-windows-static-graphics.ps1 +++ b/scripts/build-windows-static-graphics.ps1 @@ -71,7 +71,8 @@ function Build-Skia { } $outDir = Join-Path $skiaDir "out\win-static-$TargetCpu" - New-Item -ItemType Directory -Path $outDir, $OutputDir -Force | Out-Null + New-Item -ItemType Directory -Path $outDir -Force | Out-Null + New-Item -ItemType Directory -Path $OutputDir -Force | Out-Null @" target_os = "win" target_cpu = "$TargetCpu" @@ -168,7 +169,8 @@ angle_enable_wgpu = false } } -New-Item -ItemType Directory -Path $WorkDir, $OutputDir -Force | Out-Null +New-Item -ItemType Directory -Path $WorkDir -Force | Out-Null +New-Item -ItemType Directory -Path $OutputDir -Force | Out-Null switch ($Target) { "skia" { Build-Skia } "angle" { Build-Angle }