Fixed the missing DLL's issue

(cherry picked from commit 432e752028)
This commit is contained in:
ElCosmoXD 2022-05-21 17:43:25 -04:00 committed by Rémi Verschelde
parent 5fa879bd62
commit a215d29857
1 changed files with 5 additions and 1 deletions

View File

@ -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<EditorExportPreset> &p_preset, Set<String> &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<Image> img = memnew(Image(_uwp_logo));
logo.instance();