diff --git a/src/Cpp/main.cpp b/src/Cpp/main.cpp index 36fb6077bd..e62f02c807 100644 --- a/src/Cpp/main.cpp +++ b/src/Cpp/main.cpp @@ -11,8 +11,8 @@ int main([[maybe_unused]] int argc, char** argv) auto working_path = std::filesystem::path(argv[0]).parent_path(); #ifdef ASST_DEBUG - // /build/bin/Debug or /build/bin/Release if (!std::filesystem::exists(working_path / "resource")) { + // /build/bin/Debug or /build/bin/Release working_path = working_path.parent_path().parent_path().parent_path(); } #endif