summaryrefslogtreecommitdiffstats
path: root/core/os/os.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-30 15:42:50 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-07-12 22:36:24 +0300
commit4790da7900bac721cb6650dfa873800d53a67739 (patch)
tree8a37a5b72fa7a8b441ad1d6adba3bbda19b3d75e /core/os/os.cpp
parent60f3b7967cbd00b4e1f52d33d372646f7bec02f6 (diff)
downloadredot-engine-4790da7900bac721cb6650dfa873800d53a67739.tar.gz
[macOS] Implement optional native file selection dialog support for sandboxed apps.
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r--core/os/os.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 67423128a3..38ea4a0fdd 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -505,6 +505,10 @@ bool OS::has_feature(const String &p_feature) {
return false;
}
+bool OS::is_sandboxed() const {
+ return false;
+}
+
void OS::set_restart_on_exit(bool p_restart, const List<String> &p_restart_arguments) {
restart_on_exit = p_restart;
restart_commandline = p_restart_arguments;