diff options
Diffstat (limited to 'scripts/fetch_win_deps.sh')
| -rwxr-xr-x | scripts/fetch_win_deps.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/fetch_win_deps.sh b/scripts/fetch_win_deps.sh index a32f047..c66fc34 100755 --- a/scripts/fetch_win_deps.sh +++ b/scripts/fetch_win_deps.sh @@ -13,17 +13,17 @@ cp glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3.a third_party/windows/lib/ cp glfw-3.4.bin.WIN64/include/GLFW/* third_party/windows/include/GLFW/ rm -rf glfw.zip glfw-3.4.bin.WIN64 -echo "Fetching wgpu-native v0.19.4.1..." -curl -L -o wgpu.zip https://github.com/gfx-rs/wgpu-native/releases/download/v0.19.4.1/wgpu-windows-x86_64-release.zip +echo "Fetching wgpu-native v27.0.4.0..." +curl -L -o wgpu.zip https://github.com/gfx-rs/wgpu-native/releases/download/v27.0.4.0/wgpu-windows-x86_64-msvc-release.zip unzip -q wgpu.zip -d wgpu_temp -# Copy import library (renaming for MinGW convention, though it can usually read .lib) -cp wgpu_temp/wgpu_native.dll.lib third_party/windows/lib/libwgpu_native.dll.a +# Copy import library (renaming for MinGW convention) +cp wgpu_temp/lib/wgpu_native.dll.lib third_party/windows/lib/libwgpu_native.dll.a # Copy runtime DLL (will be needed next to executable) -cp wgpu_temp/wgpu_native.dll third_party/windows/lib/wgpu_native.dll +cp wgpu_temp/lib/wgpu_native.dll third_party/windows/lib/wgpu_native.dll # Copy headers mkdir -p third_party/windows/include/webgpu -cp wgpu_temp/webgpu.h third_party/windows/include/webgpu/ -cp wgpu_temp/wgpu.h third_party/windows/include/webgpu/ +cp wgpu_temp/include/webgpu/webgpu.h third_party/windows/include/webgpu/ +cp wgpu_temp/include/webgpu/wgpu.h third_party/windows/include/webgpu/ rm -rf wgpu.zip wgpu_temp echo "Windows dependencies fetched." |
