Skip to content

Commit 1022c6b

Browse files
committed
Merge pull request #100920 from Summersay415/uid-moment
Ensure icon and splash paths on export
2 parents 28c4ae2 + 0edd24d commit 1022c6b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

editor/export/editor_export_platform.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "core/extension/gdextension.h"
3636
#include "core/io/file_access_encrypted.h"
3737
#include "core/io/file_access_pack.h" // PACK_HEADER_MAGIC, PACK_FORMAT_VERSION
38+
#include "core/io/resource_uid.h"
3839
#include "core/io/zip_io.h"
3940
#include "core/version.h"
4041
#include "editor/editor_file_system.h"
@@ -955,8 +956,8 @@ Vector<String> EditorExportPlatform::get_forced_export_files() {
955956

956957
files.push_back(ProjectSettings::get_singleton()->get_global_class_list_path());
957958

958-
String icon = GLOBAL_GET("application/config/icon");
959-
String splash = GLOBAL_GET("application/boot_splash/image");
959+
String icon = ResourceUID::ensure_path(GLOBAL_GET("application/config/icon"));
960+
String splash = ResourceUID::ensure_path(GLOBAL_GET("application/boot_splash/image"));
960961
if (!icon.is_empty() && FileAccess::exists(icon)) {
961962
files.push_back(icon);
962963
}

0 commit comments

Comments
 (0)