fix(setup): reject incomplete Windows SDK

This commit is contained in:
Tommie Hansen
2026-12-05 14:24:33 +01:00
parent b63a22953c
commit 8b88a73a08

View File

@ -122,14 +122,7 @@ step_tools() {
fi
}
step_sdk() {
if [ -d "$deps/msvc/VC" ]; then return; fi
fetch "${XWIN[@]}" "$deps/xwin.tar.gz"
tar -xzf "$deps/xwin.tar.gz" -C "$deps" --strip-components 1 --wildcards '*/xwin'
echo "fetching the windows sdk"
"$deps/xwin" --accept-license --cache-dir "$deps/xwin-cache" splat --use-winsysroot-style --preserve-ms-arch-notation --output "$deps/msvc"
rm -rf "$deps/xwin-cache" "$deps/xwin.tar.gz" "$deps/xwin"
}
source "$root/tools/sdk.sh"
step_dlls() {
if [ ! -f "$deps/dxc/dxil.dll" ]; then