diff options
author | Steph Enders <smenders@gmail.com> | 2022-11-25 12:06:31 -0500 |
---|---|---|
committer | Steph Enders <smenders@gmail.com> | 2022-11-25 12:06:31 -0500 |
commit | 97c2c72ff91af7fc1c80b0a13d69c2997ae4f830 (patch) | |
tree | 3b4a9dc58ddac0eec5e7f793adf86d61237d9cee /src | |
parent | 4f3aff17a3309f4838e0f894290c3866283bf272 (diff) |
No Exe Patch Applied
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/macos/MacResources.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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<filesystem::path>(f); @@ -37,13 +36,13 @@ MacResources::MacResources() : Resources() { } std::vector<filesystem::path> MacResources::levelSearchDirs() { - return {workingDir / "maps", exeDir / "maps"}; + return {workingDir / "maps"}; } std::vector<filesystem::path> MacResources::defaultsSearchDirs() { - return {workingDir / "dnglib", exeDir / "dnglib"}; + return {workingDir / "dnglib"}; } std::vector<filesystem::path> MacResources::fontSearchDirs() { - return {workingDir / "res", exeDir / "res"}; + return {workingDir / "res"}; } const char *MacResources::convert_to_str(filesystem::path &path) { |