summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-09 22:29:41 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-09 22:29:41 +0200
commitd3d10b55b49ce73ad316b21ba79d8648928b25d0 (patch)
tree5f45ddabe8eb71f42ed3c95be0a032524aeebafc /platform/android/export/export_plugin.cpp
parent78fade3809f8b372c207f72195a8e4eae29de806 (diff)
parentbf558adcdddad0e7bf54bf88298ac11cd0b77b77 (diff)
downloadredot-engine-d3d10b55b49ce73ad316b21ba79d8648928b25d0.tar.gz
Merge pull request #90422 from bruvzg/net_no_native_embed
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-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;
}