File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 8888
8989# Mono
9090
91- # No Android support with .NET 6 yet.
92- # if [ "${MONO}" == "1" ]; then
93- if false ; then
91+ if [ " ${MONO} " == " 1" ]; then
9492 echo " Starting Mono build for Android..."
9593
9694 cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
@@ -115,7 +113,7 @@ if false; then
115113 cp bin/android_source.zip /root/out/templates-mono/
116114 cp bin/android_debug.apk /root/out/templates-mono/
117115 cp bin/android_release.apk /root/out/templates-mono/
118- cp bin/godot-lib.release .aar /root/out/templates-mono/
116+ cp bin/godot-lib.template_release .aar /root/out/templates-mono/
119117fi
120118
121119echo " Android build successful"
Original file line number Diff line number Diff line change @@ -490,6 +490,15 @@ if [ "${build_mono}" == "1" ]; then
490490 rm -rf macos_template.app
491491 sign_macos_template ${templatesdir_mono} 1
492492
493+ # # Android (Mono) ##
494+
495+ # Lib for direct download
496+ cp out/android/templates-mono/godot-lib.template_release.aar ${reldir_mono} /godot-lib.${templates_version} .mono.template_release.aar
497+
498+ # Templates
499+ cp out/android/templates-mono/* .apk ${templatesdir_mono} /
500+ cp out/android/templates-mono/android_source.zip ${templatesdir_mono} /
501+
493502 # No .NET support for those platforms yet.
494503
495504 if false ; then
@@ -500,15 +509,6 @@ if [ "${build_mono}" == "1" ]; then
500509 cp out/web/templates-mono/godot.web.template_debug.wasm32.mono.zip ${templatesdir_mono} /web_debug.zip
501510 cp out/web/templates-mono/godot.web.template_release.wasm32.mono.zip ${templatesdir_mono} /web_release.zip
502511
503- # # Android (Mono) ##
504-
505- # Lib for direct download
506- cp out/android/templates-mono/godot-lib.template_release.aar ${reldir_mono} /godot-lib.${templates_version} .mono.template_release.aar
507-
508- # Templates
509- cp out/android/templates-mono/* .apk ${templatesdir_mono} /
510- cp out/android/templates-mono/android_source.zip ${templatesdir_mono} /
511-
512512 # # iOS (Mono) ##
513513
514514 rm -rf ios_xcode
You can’t perform that action at this time.
0 commit comments