Fixed the missing DLL's issue

This commit is contained in:
ElCosmoXD 2022-05-21 17:43:25 -04:00
parent afc9b214ec
commit 432e752028
No known key found for this signature in database
GPG key ID: BCA668054EBB5742

View file

@ -1359,7 +1359,7 @@ public:
EditorNode::progress_add_task("project_files", "Project Files", 100); EditorNode::progress_add_task("project_files", "Project Files", 100);
packager.set_progress_task("project_files"); 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"); 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) { 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() { EditorExportPlatformUWP() {
Ref<Image> img = memnew(Image(_uwp_logo)); Ref<Image> img = memnew(Image(_uwp_logo));
logo.instance(); logo.instance();