Skip to content

Commit 0edd24d

Browse files
committed
Ensure icon and splash paths on export
1 parent efa1443 commit 0edd24d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

editor/export/editor_export_platform.cpp

Lines changed: 3 additions & 2 deletions
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"
@@ -925,8 +926,8 @@ Vector<String> EditorExportPlatform::get_forced_export_files() {
925926

926927
files.push_back(ProjectSettings::get_singleton()->get_global_class_list_path());
927928

928-
String icon = GLOBAL_GET("application/config/icon");
929-
String splash = GLOBAL_GET("application/boot_splash/image");
929+
String icon = ResourceUID::ensure_path(GLOBAL_GET("application/config/icon"));
930+
String splash = ResourceUID::ensure_path(GLOBAL_GET("application/boot_splash/image"));
930931
if (!icon.is_empty() && FileAccess::exists(icon)) {
931932
files.push_back(icon);
932933
}

0 commit comments

Comments
 (0)