Skip to content

Commit

Permalink
perf: 去除ShutDown,直接使用Close1999
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Oct 7, 2023
1 parent 0848345 commit 513db9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions assets/resource/pipeline/shutdown.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"ShutDown": {
"next": [
"Close1999"
]
},
"Close1999": {
"action": "StopApp"
}
Expand Down
4 changes: 2 additions & 2 deletions source/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ bool proc_argv(int argc, char** argv, bool& debug, std::string& adb, std::string

switch (id) {
case 0:
task_obj.type = "ShutDown";
task_obj.type = "Close1999";
break;
case 1:
task_obj.type = "StartUp";
Expand Down Expand Up @@ -489,7 +489,7 @@ void save_config(const std::string& adb, const std::string& adb_address, int& cl
tasks_array.emplace(std::move(task_obj));
}
config["tasks"] = std::move(tasks_array);
config["tasks_Doc"] = "要执行的任务 StartUp, Wilderness, Psychube, Awards, Combat, ShutDown";
config["tasks_Doc"] = "要执行的任务 StartUp, Wilderness, Psychube, Awards, Combat, Close1999";

config["touch"] = (ctrl_type & MaaAdbControllerType_Touch_Mask) >> 0;
config["touch_Doc"] = "点击方式:1: Adb, 2: MiniTouch, 3: MaaTouch";
Expand Down

0 comments on commit 513db9c

Please sign in to comment.