mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Enable automatic install of export apks for the Android editor
This commit is contained in:
parent
08f9cba0fb
commit
af2423ba4d
7 changed files with 42 additions and 10 deletions
|
@ -2887,6 +2887,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