1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[macOS] Implement optional native file selection dialog support for sandboxed apps.

This commit is contained in:
bruvzg
2021-03-30 15:42:50 +03:00
parent 60f3b7967c
commit 4790da7900
20 changed files with 395 additions and 5 deletions

View File

@@ -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;