1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Update the visibility for the custom templates for all platforms

Hide the custom template options behind the `Advanced Options` toggle
This commit is contained in:
Fredia Huya-Kouadio
2024-06-24 06:45:31 -07:00
parent 2b7ea6223b
commit 2d3f6963b2
7 changed files with 46 additions and 5 deletions

View File

@@ -171,7 +171,9 @@ bool EditorExportPlatformLinuxBSD::get_export_option_visibility(const EditorExpo
if (!ssh && p_option != "ssh_remote_deploy/enabled" && p_option.begins_with("ssh_remote_deploy/")) {
return false;
}
if (p_option == "dotnet/embed_build_outputs") {
if (p_option == "dotnet/embed_build_outputs" ||
p_option == "custom_template/debug" ||
p_option == "custom_template/release") {
return advanced_options_enabled;
}
return true;