diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-05-13 09:25:09 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-05-13 09:25:09 +0300 |
commit | 11ccfad1aabec468fd92e1b567f3f9d94b5acc4b (patch) | |
tree | 03f76795e046d4fd94b8f486709ddd638648d1c9 /core/os | |
parent | b283447bfd5c8d1f6a6566bda57f89c1b87a3e0e (diff) |
[macOS] Prefer .app bundle icon over the default one.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.cpp | 5 | ||||
-rw-r--r-- | core/os/os.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index ca1b798e11..0641c86ad6 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -305,6 +305,11 @@ String OS::get_bundle_resource_dir() const { return "."; } +// Path to macOS .app bundle embedded icon +String OS::get_bundle_icon_path() const { + return String(); +} + // OS specific path for user:// String OS::get_user_data_dir() const { return "."; diff --git a/core/os/os.h b/core/os/os.h index 7198607237..95e0f1d660 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -250,6 +250,7 @@ public: virtual String get_config_path() const; virtual String get_cache_path() const; virtual String get_bundle_resource_dir() const; + virtual String get_bundle_icon_path() const; virtual String get_user_data_dir() const; virtual String get_resource_dir() const; |