Created
September 20, 2023 10:20
-
-
Save fum1h1ro/d9f348b4b4aba7b761f9a982616a32d5 to your computer and use it in GitHub Desktop.
godot_build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
scons platform=macos arch=arm64 module_mono_enabled=yes target=editor vulkan_sdk_path=$HOME/Developer/VulkanSDK/1.3.261.1 | |
bin/godot.macos.editor.arm64.mono --headless --generate-mono-glue modules/mono/glue | |
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin | |
cp -r misc/dist/macos_tools.app ./Godot.app | |
mkdir -p Godot.app/Contents/MacOS | |
cp bin/godot.macos.editor.arm64.mono Godot.app/Contents/MacOS/Godot | |
cp -r bin/GodotSharp Godot.app/Contents/Resources | |
chmod +x Godot.app/Contents/MacOS/Godot | |
codesign --force --timestamp --options=runtime --entitlements misc/dist/macos/editor.entitlements -s - Godot.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment