mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2026-01-05 06:11:49 +03:00
.NET: Add support for Android builds
This commit is contained in:
@@ -88,9 +88,7 @@ fi
|
|||||||
|
|
||||||
# Mono
|
# Mono
|
||||||
|
|
||||||
# No Android support with .NET 6 yet.
|
if [ "${MONO}" == "1" ]; then
|
||||||
#if [ "${MONO}" == "1" ]; then
|
|
||||||
if false; then
|
|
||||||
echo "Starting Mono build for Android..."
|
echo "Starting Mono build for Android..."
|
||||||
|
|
||||||
cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
|
cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
|
||||||
@@ -115,7 +113,7 @@ if false; then
|
|||||||
cp bin/android_source.zip /root/out/templates-mono/
|
cp bin/android_source.zip /root/out/templates-mono/
|
||||||
cp bin/android_debug.apk /root/out/templates-mono/
|
cp bin/android_debug.apk /root/out/templates-mono/
|
||||||
cp bin/android_release.apk /root/out/templates-mono/
|
cp bin/android_release.apk /root/out/templates-mono/
|
||||||
cp bin/godot-lib.release.aar /root/out/templates-mono/
|
cp bin/godot-lib.template_release.aar /root/out/templates-mono/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Android build successful"
|
echo "Android build successful"
|
||||||
|
|||||||
@@ -490,6 +490,15 @@ if [ "${build_mono}" == "1" ]; then
|
|||||||
rm -rf macos_template.app
|
rm -rf macos_template.app
|
||||||
sign_macos_template ${templatesdir_mono} 1
|
sign_macos_template ${templatesdir_mono} 1
|
||||||
|
|
||||||
|
## Android (Mono) ##
|
||||||
|
|
||||||
|
# Lib for direct download
|
||||||
|
cp out/android/templates-mono/godot-lib.template_release.aar ${reldir_mono}/godot-lib.${templates_version}.mono.template_release.aar
|
||||||
|
|
||||||
|
# Templates
|
||||||
|
cp out/android/templates-mono/*.apk ${templatesdir_mono}/
|
||||||
|
cp out/android/templates-mono/android_source.zip ${templatesdir_mono}/
|
||||||
|
|
||||||
# No .NET support for those platforms yet.
|
# No .NET support for those platforms yet.
|
||||||
|
|
||||||
if false; then
|
if false; then
|
||||||
@@ -500,15 +509,6 @@ if [ "${build_mono}" == "1" ]; then
|
|||||||
cp out/web/templates-mono/godot.web.template_debug.wasm32.mono.zip ${templatesdir_mono}/web_debug.zip
|
cp out/web/templates-mono/godot.web.template_debug.wasm32.mono.zip ${templatesdir_mono}/web_debug.zip
|
||||||
cp out/web/templates-mono/godot.web.template_release.wasm32.mono.zip ${templatesdir_mono}/web_release.zip
|
cp out/web/templates-mono/godot.web.template_release.wasm32.mono.zip ${templatesdir_mono}/web_release.zip
|
||||||
|
|
||||||
## Android (Mono) ##
|
|
||||||
|
|
||||||
# Lib for direct download
|
|
||||||
cp out/android/templates-mono/godot-lib.template_release.aar ${reldir_mono}/godot-lib.${templates_version}.mono.template_release.aar
|
|
||||||
|
|
||||||
# Templates
|
|
||||||
cp out/android/templates-mono/*.apk ${templatesdir_mono}/
|
|
||||||
cp out/android/templates-mono/android_source.zip ${templatesdir_mono}/
|
|
||||||
|
|
||||||
## iOS (Mono) ##
|
## iOS (Mono) ##
|
||||||
|
|
||||||
rm -rf ios_xcode
|
rm -rf ios_xcode
|
||||||
|
|||||||
Reference in New Issue
Block a user