.NET: Add support for iOS builds

This commit is contained in:
Rémi Verschelde
2023-10-04 01:12:57 +02:00
parent 02e092ce76
commit 75877451f2
2 changed files with 11 additions and 13 deletions

View File

@@ -57,9 +57,7 @@ fi
# Mono
# No iOS support with .NET 6 yet.
#if [ "${MONO}" == "1" ]; then
if false; then
if [ "${MONO}" == "1" ]; then
echo "Starting Mono build for iOS..."
cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/

View File

@@ -462,16 +462,6 @@ if [ "${build_mono}" == "1" ]; then
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.
if false; then
## Web (Mono) ##
# Templates
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
## iOS (Mono) ##
rm -rf ios_xcode
@@ -487,6 +477,16 @@ if [ "${build_mono}" == "1" ]; then
cd ..
rm -rf ios_xcode
# No .NET support for those platforms yet.
if false; then
## Web (Mono) ##
# Templates
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
fi
## Templates TPZ (Mono) ##