Add -r flag to adb install for keep app user data
(cherry picked from commit 9e026fecef
)
This commit is contained in:
parent
ca1ca6c7df
commit
05c620b7ad
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue