summaryrefslogtreecommitdiffstats
path: root/platform/android
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-04-09 11:12:06 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-04-09 17:47:39 +0300
commitbf558adcdddad0e7bf54bf88298ac11cd0b77b77 (patch)
tree1ed85169cc2ed567df8f13354eba5d2a9a6699cb /platform/android
parenta7b860250f305f6cbaf61c30f232ff3bbdfdda0b (diff)
downloadredot-engine-bf558adcdddad0e7bf54bf88298ac11cd0b77b77.tar.gz
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/export/export_plugin.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index 0a766614f2..aa51374637 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -1939,6 +1939,12 @@ bool EditorExportPlatformAndroid::get_export_option_visibility(const EditorExpor
// The APK templates are ignored if Gradle build is enabled.
return advanced_options_enabled && !bool(p_preset->get("gradle_build/use_gradle_build"));
}
+
+ // Hide .NET embedding option (always enabled).
+ if (p_option == "dotnet/embed_build_outputs") {
+ return false;
+ }
+
return true;
}