File tree 1 file changed +5
-11
lines changed
1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,13 @@ set -euo pipefail
4
4
IFS=$' \n\t '
5
5
6
6
# 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 \
10
10
--accept-licenses --default-answer --confirm-command install
11
11
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
19
12
20
- rm -f /tmp/vulkan-sdk.dmg
13
+ rm -rf /tmp/InstallVulkan.app
14
+ rm -f /tmp/vulkan-sdk.zip
21
15
22
16
echo ' Vulkan SDK installed successfully! You can now build Godot by running "scons".'
You can’t perform that action at this time.
0 commit comments