mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Implement and expose OS::shell_show_in_file_manager()
This commit is contained in:
@@ -1827,7 +1827,7 @@ void ProjectList::_favorite_pressed(Node *p_hb) {
|
||||
}
|
||||
|
||||
void ProjectList::_show_project(const String &p_path) {
|
||||
OS::get_singleton()->shell_open(String("file://") + p_path);
|
||||
OS::get_singleton()->shell_show_in_file_manager(p_path, true);
|
||||
}
|
||||
|
||||
void ProjectList::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user