spine-runtimes/spine-godot/build/install-macos-vulkan-sdk.sh
Luke Ingram 65d7d4b8fe [godot] Explicitly adds the flag needed to install the MoltenVK XCFramework.
Addtionally, updates the path needed for the installer to find the MoltenVK.xcframework as the path changed.
2026-01-08 12:23:06 -04:00

10 lines
468 B
Bash
Executable File

set -euo pipefail
IFS=$'\n\t'
# Download and install the Vulkan SDK.
curl -L "https://sdk.lunarg.com/sdk/download/1.3.275.0/mac/vulkansdk-macos-1.3.275.0.dmg" -o /tmp/vulkan-sdk.dmg
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
--accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.ios
# hdiutil detach /Volumes/vulkan-sdk
rm -f /tmp/vulkan-sdk.dmg