diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-02 17:52:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 17:52:49 +0100 |
commit | 0c22f5a4476d80b43017b2032f60039ce75e49a9 (patch) | |
tree | 2efcf58669c1f0566ba5af849c362439532d8698 | |
parent | e2b66cacf78ae39b94df748e9740b98a1f011e77 (diff) | |
parent | 5b80dc9a2ad6425533107f04ab0696f2c229baf2 (diff) |
Merge pull request #36731 from m4gr3d/fix_android_templates_install_detection
Fix android template install validation.
-rw-r--r-- | editor/export_template_manager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/export_template_manager.cpp b/editor/export_template_manager.cpp index bbf741948b..12c756122e 100644 --- a/editor/export_template_manager.cpp +++ b/editor/export_template_manager.cpp @@ -547,9 +547,7 @@ void ExportTemplateManager::_notification(int p_what) { bool ExportTemplateManager::can_install_android_template() { const String templates_dir = EditorSettings::get_singleton()->get_templates_dir().plus_file(VERSION_FULL_CONFIG); - return FileAccess::exists(templates_dir.plus_file("android_source.zip")) && - FileAccess::exists(templates_dir.plus_file("android_release.apk")) && - FileAccess::exists(templates_dir.plus_file("android_debug.apk")); + return FileAccess::exists(templates_dir.plus_file("android_source.zip")); } Error ExportTemplateManager::install_android_template() { |