mirror of
https://github.com/lobomfz/VIctory-xmem.git
synced 2026-12-06 05:48:38 +00:00
fix(setup): reject incomplete Windows SDK
This commit is contained in:
9
setup.sh
9
setup.sh
@ -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
|
||||
|
||||
Reference in New Issue
Block a user