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

Allow exporting release Android builds without a debug keystore

This commit is contained in:
Michael Alexsander
2023-06-11 14:01:39 -03:00
parent 116f783db7
commit 41a75cfa4f
17 changed files with 26 additions and 24 deletions

View File

@@ -983,7 +983,7 @@ void EditorNode::_fs_changed() {
} else { // Normal project export.
String config_error;
bool missing_templates;
if (!platform->can_export(export_preset, config_error, missing_templates)) {
if (!platform->can_export(export_preset, config_error, missing_templates, export_defer.debug)) {
ERR_PRINT(vformat("Cannot export project with preset \"%s\" due to configuration errors:\n%s", preset_name, config_error));
err = missing_templates ? ERR_FILE_NOT_FOUND : ERR_UNCONFIGURED;
} else {