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

Merge pull request #97631 from m4gr3d/prompt_apk_install_after_generation

[Android editor] Enable automatic install of exported apks for the Android editor
This commit is contained in:
Thaddeus Crews
2024-11-04 21:52:08 -06:00
7 changed files with 42 additions and 10 deletions

View File

@@ -2893,6 +2893,14 @@ Error EditorExportPlatformAndroid::sign_apk(const Ref<EditorExportPreset> &p_pre
#endif
print_verbose("Successfully completed signing build.");
#ifdef ANDROID_ENABLED
bool prompt_apk_install = EDITOR_GET("export/android/install_exported_apk");
if (prompt_apk_install) {
OS_Android::get_singleton()->shell_open(apk_path);
}
#endif
return OK;
}