From 97c2c72ff91af7fc1c80b0a13d69c2997ae4f830 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Fri, 25 Nov 2022 12:06:31 -0500 Subject: No Exe Patch Applied --- src/resources/macos/MacResources.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/resources') diff --git a/src/resources/macos/MacResources.cpp b/src/resources/macos/MacResources.cpp index 9ae3499..b3049ae 100644 --- a/src/resources/macos/MacResources.cpp +++ b/src/resources/macos/MacResources.cpp @@ -29,7 +29,6 @@ MacResources::MacResources() : Resources() { this->workingDir = filesystem::current_path(); - this->exeDir = filesystem::canonical("/proc/self/exe").remove_filename(); // set an initial value - will get hardset in load if found filesystem::path f = workingDir / "res" / DEFAULT_FONT; // default as fallback this->font = std::make_shared(f); @@ -37,13 +36,13 @@ MacResources::MacResources() : Resources() { } std::vector MacResources::levelSearchDirs() { - return {workingDir / "maps", exeDir / "maps"}; + return {workingDir / "maps"}; } std::vector MacResources::defaultsSearchDirs() { - return {workingDir / "dnglib", exeDir / "dnglib"}; + return {workingDir / "dnglib"}; } std::vector MacResources::fontSearchDirs() { - return {workingDir / "res", exeDir / "res"}; + return {workingDir / "res"}; } const char *MacResources::convert_to_str(filesystem::path &path) { -- cgit v1.2.3-54-g00ecf