Skip to content

Commit

Permalink
fix: 修复 PiCli 找不到 windows 窗口的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Sep 21, 2024
1 parent cdbfbd9 commit 3946a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MaaToolkit/ProjectInterface/CLI/interactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ bool Interactor::select_win32_hwnd(const MAA_PROJECT_INTERFACE_NS::InterfaceData
}
}

if (!matched_config.empty()) {
if (matched_config.empty()) {
LogError << "Window Not Found" << VAR(win32_config.class_regex) << VAR(win32_config.window_regex);
mpause();
return false;
Expand Down

0 comments on commit 3946a45

Please sign in to comment.