You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Enable automatic install of export apks for the Android editor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user