Skip to content

Commit

Permalink
chore: 适配 MaaFramework v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 4, 2023
1 parent 594cbac commit d78374b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main(int argc, char** argv)
std::string agent_dir = (cur_dir / "MaaAgentBinary").string();

MaaSetGlobalOption(MaaGlobalOption_LogDir, (void*)debug_dir.c_str(), debug_dir.size());
MaaSetGlobalOption(MaaGlobalOption_DebugMode, (void*)&debug, sizeof(bool));
MaaSetGlobalOption(MaaGlobalOption_Recording, (void*)&debug, sizeof(bool));

auto maa_handle = MaaCreate(nullptr, nullptr);
auto resource_handle = MaaResourceCreate(nullptr, nullptr);
Expand Down

0 comments on commit d78374b

Please sign in to comment.