mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
chore: 糊点注释
This commit is contained in:
@@ -11,6 +11,7 @@ int main([[maybe_unused]] int argc, char** argv)
|
||||
auto working_path = std::filesystem::path(argv[0]).parent_path();
|
||||
|
||||
#ifdef ASST_DEBUG
|
||||
// <path>/build/bin/Debug or <path>/build/bin/Release
|
||||
if (!std::filesystem::exists(working_path / "resource")) {
|
||||
working_path = working_path.parent_path().parent_path().parent_path();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user