Merge pull request #69698 from Daylily-Zeleen/daylily-zeleen/show_in_explorer

Implement and expose OS::shell_show_in_file_manager()
This commit is contained in:
Rémi Verschelde 2023-04-25 09:57:27 +02:00
commit 76d33d187f
No known key found for this signature in database
GPG key ID: C3336907360768E1
12 changed files with 87 additions and 15 deletions

View file

@ -1829,7 +1829,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() {