You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Add -r flag to adb install for keep app user data
This commit is contained in:
@@ -1567,6 +1567,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) {
|
|||||||
args.push_back("-s");
|
args.push_back("-s");
|
||||||
args.push_back(devices[p_device].id);
|
args.push_back(devices[p_device].id);
|
||||||
args.push_back("install");
|
args.push_back("install");
|
||||||
|
args.push_back("-r");
|
||||||
args.push_back(export_to);
|
args.push_back(export_to);
|
||||||
|
|
||||||
err = OS::get_singleton()->execute(adb,args,true,NULL,NULL,&rv);
|
err = OS::get_singleton()->execute(adb,args,true,NULL,NULL,&rv);
|
||||||
|
|||||||
Reference in New Issue
Block a user