spine-runtimes/spine-godot/build/install-macos-vulkan-sdk.sh
Mario Zechner 4f69cdd6af [godot] Fixes #2371, crash on window resize
This is due to a Godot 4.1.1 bug in combination with the latest MoltenVK release. See https://github.com/godotengine/godot/pull/81219#issuecomment-1706609032. We are hardcoding the SDK version for now, until the fix has been merged and released in Godot 4.1.x.
2023-09-20 14:14:40 +02:00

10 lines
429 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.2.250/mac/vulkan-sdk.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
# hdiutil detach /Volumes/vulkan-sdk
rm -f /tmp/vulkan-sdk.dmg