diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2023-06-03 19:28:50 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2023-06-03 19:28:50 -0300 |
commit | 71d8882a025f8bc9e94173ba9a09849a8e5f7d31 (patch) | |
tree | 51d258ec2db68377b3fd47db92fb8b472479d469 /platform/macos/export/export_plugin.cpp | |
parent | 543750a1b3f5696f9ba8e91cb49dc7db05d2ae62 (diff) | |
download | redot-engine-71d8882a025f8bc9e94173ba9a09849a8e5f7d31.tar.gz |
Enhance icon fallback and their docs for exporters
Diffstat (limited to 'platform/macos/export/export_plugin.cpp')
-rw-r--r-- | platform/macos/export/export_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index bef204cd49..f0fa5f2d36 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -1677,6 +1677,8 @@ Error EditorExportPlatformMacOS::export_project(const Ref<EditorExportPreset> &p String icon_path; if (p_preset->get("application/icon") != "") { icon_path = p_preset->get("application/icon"); + } else if (GLOBAL_GET("application/config/macos_native_icon") != "") { + icon_path = GLOBAL_GET("application/config/macos_native_icon"); } else { icon_path = GLOBAL_GET("application/config/icon"); } |