Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
fesily committed Aug 8, 2024
1 parent 86c6a50 commit 1a58166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DontStarveInjector/luajit_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#ifdef _WIN32
std::filesystem::path getGameDir();
#else
#include "util/platform.hpp"
std::filesystem::path getGameDir() {
static std::filesystem::path p = getExePath().parent_path().parent_path();
return p;
Expand Down

0 comments on commit 1a58166

Please sign in to comment.