Skip to content

Commit

Permalink
feat: 使用-d参数运行PiCli完成后直接退出
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Mar 27, 2024
1 parent 07b8986 commit 8564afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MaaProjectInterface/CLI/interactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ bool Interactor::run()
std::cout << "### All tasks have been completed ###\n\n";
}

mpause();
return ret;
}

Expand Down Expand Up @@ -222,6 +221,7 @@ bool Interactor::interact_once()
break;
case 6:
run();
mpause();
break;
case 7:
return false;
Expand Down

0 comments on commit 8564afe

Please sign in to comment.