diff --git a/resource/tasks.json b/resource/tasks.json index 9a9173b217..2b0ee69988 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -8625,7 +8625,7 @@ }, "ScreenshotTaskPlugin-Config": { "Doc": "本任务是插件 ScreenshotTaskPlugin 的配置", - "Doc_2": "需要在任务 Task 开始时截图时,将 Task 加入到此任务的 next 列表。", + "Doc_2": "需要在任务 Task 开始时截图时,将 Task 加入到此任务的 next 列表。", "algorithm": "JustReturn", "next": [ "Roguelike@StageEncounterOptionUnknown" @@ -8633,7 +8633,7 @@ }, "ScreenshotTaskPlugin-Config-Debug": { "Doc": "本任务是插件 ScreenshotTaskPlugin 的配置", - "Doc_2": "存在 DEBUG 或 DEBUG.txt 时的额外截图", + "Doc_2": "存在 DEBUG 或 DEBUG.txt 时的额外截图", "algorithm": "JustReturn", "next": [] }, diff --git a/src/MaaCore/Common/AsstTypes.h b/src/MaaCore/Common/AsstTypes.h index 1732d69314..17db0c1eaa 100644 --- a/src/MaaCore/Common/AsstTypes.h +++ b/src/MaaCore/Common/AsstTypes.h @@ -27,8 +27,9 @@ namespace asst enum class StaticOptionKey { Invalid = 0, - CpuOCR = 1, // use CPU to OCR, no value. It does not support switching after the resource is loaded. - GpuOCR = 2, // use GPU to OCR, value is gpu_id int to string. It does not support switching after the resource is loaded. + CpuOCR = 1, // use CPU to OCR, no value. It does not support switching after the resource is loaded. + GpuOCR = 2, // use GPU to OCR, value is gpu_id int to string. It does not support switching after the resource + // is loaded. }; enum class InstanceOptionKey diff --git a/src/MaaCore/Config/Miscellaneous/OcrPack.h b/src/MaaCore/Config/Miscellaneous/OcrPack.h index 120fab20e0..fc00dfa6fb 100644 --- a/src/MaaCore/Config/Miscellaneous/OcrPack.h +++ b/src/MaaCore/Config/Miscellaneous/OcrPack.h @@ -3,8 +3,8 @@ #include "Common/AsstTypes.h" #include "Config/AbstractResource.h" -#include #include +#include namespace cv {