Move the Android "clear previous install" setting to Editor Settings

This means the setting now applies to every project deployed from
the editor, rather than being per-export preset.
This commit is contained in:
Hugo Locurcio
2021-06-20 12:02:11 +02:00
parent 1ed00dca88
commit 2cdace1749
2 changed files with 3 additions and 3 deletions

View File

@@ -48,6 +48,8 @@ void register_android_exporter() {
EDITOR_DEF("export/android/shutdown_adb_on_exit", true);
EDITOR_DEF("export/android/one_click_deploy_clear_previous_install", false);
Ref<EditorExportPlatformAndroid> exporter = Ref<EditorExportPlatformAndroid>(memnew(EditorExportPlatformAndroid));
EditorExport::get_singleton()->add_export_platform(exporter);
}