Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 1, 2023
1 parent 1fd39ee commit 212c875
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 @@ -58,7 +58,7 @@ int main(int argc, char** argv)
std::string adb_config = MaaToolKitGetDeviceAdbConfig(kIndex);
std::string agent_dir = (cur_dir / "MaaAgentBinary").string();

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

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

0 comments on commit 212c875

Please sign in to comment.