Fix Windows build directory creation

This commit is contained in:
greepar committed 2026-06-20 18:35:55 +08:00
1 parent 178ed49772
commit 41943a2266
1 file changed
+4 -2
+4 -2
View File
@@ -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 }