summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-08 13:52:51 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-08 13:52:51 +0200
commit491a437df51192f76ac19cee1ba2001365697cc4 (patch)
treeada1019b3c7351a5ca6daf38273490a6a145a79c /platform/android/export/export_plugin.cpp
parentc9f81045be9760820a1bb4898f08d2ff9784d4b7 (diff)
parent273a6eeb66ed1ff2fcc1ee3a6eaae4eedf437875 (diff)
downloadredot-engine-491a437df51192f76ac19cee1ba2001365697cc4.tar.gz
Merge pull request #76540 from reduz/redo-remote-filesystem
Redo how the remote filesystem works
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r--platform/android/export/export_plugin.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index f52edf2b61..87f4cf2de2 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -2791,7 +2791,11 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
CustomExportData user_data;
user_data.assets_directory = assets_directory;
user_data.debug = p_debug;
- err = export_project_files(p_preset, p_debug, rename_and_store_file_in_gradle_project, &user_data, copy_gradle_so);
+ if (p_flags & DEBUG_FLAG_DUMB_CLIENT) {
+ err = export_project_files(p_preset, p_debug, ignore_apk_file, &user_data, copy_gradle_so);
+ } else {
+ err = export_project_files(p_preset, p_debug, rename_and_store_file_in_gradle_project, &user_data, copy_gradle_so);
+ }
if (err != OK) {
add_message(EXPORT_MESSAGE_ERROR, TTR("Export"), TTR("Could not export project files to gradle project."));
return err;