From 155b0f4dca3da5dd649945042ee76074f53c464f Mon Sep 17 00:00:00 2001 From: brandonhare Date: Thu, 1 Jan 2026 16:29:28 +1100 Subject: [PATCH] Fixed 'Show In File Manager' launching apps --- platform/macos/os_macos.mm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/macos/os_macos.mm b/platform/macos/os_macos.mm index cbdf0f194e3..625d59a2bf9 100644 --- a/platform/macos/os_macos.mm +++ b/platform/macos/os_macos.mm @@ -532,8 +532,11 @@ String OS_MacOS::get_system_dir(SystemDir p_dir, bool p_shared_storage) const { Error OS_MacOS::shell_show_in_file_manager(String p_path, bool p_open_folder) { bool open_folder = false; - if (DirAccess::dir_exists_absolute(p_path) && p_open_folder) { - open_folder = true; + if (p_open_folder) { + Ref dir = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); + if (dir->dir_exists(p_path) && !dir->is_bundle(p_path)) { + open_folder = true; + } } if (!p_path.begins_with("file://")) {