diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index ada4ad69ab2..8864fa0d5af 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -1359,7 +1359,7 @@ public: EditorNode::progress_add_task("project_files", "Project Files", 100); packager.set_progress_task("project_files"); - err = export_project_files(p_preset, save_appx_file, &packager); + err = export_project_files(p_preset, save_appx_file, &packager, copy_shared_objects); EditorNode::progress_end_task("project_files"); @@ -1434,6 +1434,10 @@ public: virtual void resolve_platform_feature_priorities(const Ref &p_preset, Set &p_features) { } + static Error copy_shared_objects(void *p_userdata, const SharedObject &p_so) { + return save_appx_file(p_userdata, p_so.path, FileAccess::get_file_as_array(p_so.path), 0, 1); + } + EditorExportPlatformUWP() { Ref img = memnew(Image(_uwp_logo)); logo.instance();