1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Addes ability to load build sources from file.

* If not present, the dialog asks to load build sources from a file.
* The export templates check now also verifies that build sources are installed and skips the template check.

This makes Android development easier.
This commit is contained in:
reduz
2021-07-15 10:12:56 -03:00
parent f79e79d479
commit 6639cc9853
5 changed files with 30 additions and 7 deletions

View File

@@ -2064,10 +2064,9 @@ public:
err += template_err;
}
} else {
r_missing_templates = !exists_export_template("android_source.zip", &err);
bool installed_android_build_template = FileAccess::exists("res://android/build/build.gradle");
if (!installed_android_build_template) {
r_missing_templates = !exists_export_template("android_source.zip", &err);
err += TTR("Android build template not installed in the project. Install it from the Project menu.") + "\n";
}