You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user