From 069e159f33210a47e149c4b21e58efce8a77b2eb Mon Sep 17 00:00:00 2001 From: MistEO Date: Tue, 9 Sep 2025 00:22:02 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=86=8D=E7=B3=8A=E7=82=B9=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Cpp/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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