summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-05-13 09:25:09 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-05-13 09:25:09 +0300
commit11ccfad1aabec468fd92e1b567f3f9d94b5acc4b (patch)
tree03f76795e046d4fd94b8f486709ddd638648d1c9 /core/os
parentb283447bfd5c8d1f6a6566bda57f89c1b87a3e0e (diff)
[macOS] Prefer .app bundle icon over the default one.
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.cpp5
-rw-r--r--core/os/os.h1
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;