diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-05 13:43:07 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-05 13:43:07 +0200 |
commit | d0dfc01035d15162d1140fda1d6c65acf2700c1f (patch) | |
tree | 4367a4c32d575461435ad4ab02821e38414cf3e4 /platform/macos/export/export_plugin.cpp | |
parent | 9d3d2ead6918db686ae8512e332590b976e4ce4c (diff) | |
parent | 71d8882a025f8bc9e94173ba9a09849a8e5f7d31 (diff) | |
download | redot-engine-d0dfc01035d15162d1140fda1d6c65acf2700c1f.tar.gz |
Merge pull request #77821 from YeldhamDev/fallback!_fallback!_fallback!
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"); } |