diff --git a/source/cli/main.cpp b/source/cli/main.cpp index 5f3c3a2..9c0fb7c 100644 --- a/source/cli/main.cpp +++ b/source/cli/main.cpp @@ -229,6 +229,19 @@ MaaSize get_device_index(const MaaSize& device_size) } json::value dorm_param() +{ + json::value param; + auto& diff = param["diff_task"]; + auto& doc = diff["Sub_SwitchToFragmentPage"]["doc"]; + auto& enabled = diff["Sub_SwitchToFragmentPage"]["enabled"]; + + doc = "切换刷最近碎片;默认false,刷最近材料"; + enabled = false; + + return param; +} + +json::value universal_mirage_param() { json::value param; auto& diff = param["diff_task"]; @@ -257,19 +270,6 @@ json::value dorm_param() return param; } -json::value universal_mirage_param() -{ - json::value param; - auto& diff = param["diff_task"]; - auto& doc = diff["Sub_SwitchToFragmentPage"]["doc"]; - auto& enabled = diff["Sub_SwitchToFragmentPage"]["enabled"]; - - doc = "切换刷最近碎片;默认false,刷最近材料"; - enabled = false; - - return param; -} - json::value end_to_do_param() { json::value param; auto& diff = param["diff_task"];