File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,13 @@ set -euo pipefail
44IFS=$' \n\t '
55
66# Download and install the Vulkan SDK.
7- curl -L " https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg " -o /tmp/vulkan-sdk.dmg
8- hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
9- /Volumes/vulkan-sdk /InstallVulkan.app/Contents/MacOS/InstallVulkan \
7+ curl -L " https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip " -o /tmp/vulkan-sdk.zip
8+ unzip /tmp/vulkan-sdk.zip -d /tmp
9+ /tmp /InstallVulkan.app/Contents/MacOS/InstallVulkan \
1010 --accept-licenses --default-answer --confirm-command install
1111
12- cnt=5
13- until hdiutil detach -force /Volumes/vulkan-sdk
14- do
15- [[ cnt -eq " 0" ]] && break
16- sleep 1
17- (( cnt-- ))
18- done
1912
20- rm -f /tmp/vulkan-sdk.dmg
13+ rm -rf /tmp/InstallVulkan.app
14+ rm -f /tmp/vulkan-sdk.zip
2115
2216echo ' Vulkan SDK installed successfully! You can now build Godot by running "scons".'
You can’t perform that action at this time.
0 commit comments