summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r--platform/android/export/export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 0f1cbdc73a..60f4e61c68 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -1567,6 +1567,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) {
args.push_back("-s");
args.push_back(devices[p_device].id);
args.push_back("install");
+ args.push_back("-r");
args.push_back(export_to);
err = OS::get_singleton()->execute(adb,args,true,NULL,NULL,&rv);
@@ -1771,6 +1772,7 @@ void register_android_exporter() {
//EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING,"android/release_keystore",PROPERTY_HINT_GLOBAL_FILE,"*.keystore"));
EDITOR_DEF("android/timestamping_authority_url","");
EDITOR_DEF("android/use_remote_debug_over_adb",false);
+ EDITOR_DEF("android/shutdown_adb_on_exit",true);
Ref<EditorExportPlatformAndroid> exporter = Ref<EditorExportPlatformAndroid>( memnew(EditorExportPlatformAndroid) );
EditorImportExport::get_singleton()->add_export_platform(exporter);