--- src/commonui/fz_paths.cpp 2021-10-26 20:12:19.000000000 +0800 +++ src/commonui/fz_paths.cpp 2024-04-24 10:26:33.000000000 +0800 @@ -245,7 +245,6 @@ * and hope we find them. If not, the user can still specify on the cmdline * and using environment variables where the resources are. * - * At least on OS X it's simple: All inside application bundle. */ CLocalPath ret; @@ -264,20 +263,6 @@ return false; }; -#ifdef FZ_MAC - (void)prefixSub; - if (searchSelfDir) { - CFBundleRef bundle = CFBundleGetMainBundle(); - if (bundle) { - if (testPath(fromCFURLRef(CFBundleCopySharedSupportURL(bundle)))) { - return ret; - } - } - } - - return CLocalPath(); -#else - // First try the user specified data dir. if (searchSelfDir) { if (testPath(GetEnv("FZ_DATADIR"))) { @@ -327,7 +312,6 @@ ret.clear(); return ret; -#endif } CLocalPath GetDefaultsDir()