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:
commit
b00e1cbf74
7 changed files with 42 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue