1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix decoding UTF-8 filenames on unzipping.

This commit is contained in:
bruvzg
2022-01-05 14:27:11 +02:00
parent d2ac67d55e
commit d2573c1636
8 changed files with 14 additions and 14 deletions

View File

@@ -325,7 +325,7 @@ Error EditorExportPlatformUWP::export_project(const Ref<EditorExportPreset> &p_p
char fname[16834];
ret = unzGetCurrentFileInfo(pkg, &info, fname, 16834, nullptr, 0, nullptr, 0);
String path = fname;
String path = String::utf8(fname);
if (path.ends_with("/")) {
// Ignore directories