chore: 提示补全

This commit is contained in:
status102
2025-05-13 19:55:19 +08:00
parent c6dfd9aefd
commit 29acc13b3f

View File

@@ -170,10 +170,10 @@ bool asst::ResourceLoader::load(const std::filesystem::path& path)
}
else if (std::filesystem::is_regular_file(path / "tasks.json"_p)) {
Log.warn("================ DEPRECATED ================");
Log.warn(__FUNCTION__, "resource/tasks.json has been deprecated since");
Log.warn(__FUNCTION__, "resource/tasks.json has been deprecated since v5.15.4");
Log.warn("================ DEPRECATED ================");
LoadResourceWithTemplAndCheckRet(TaskData, "tasks.json"_p, "template"_p);
} // v5.16.4
}
// 下面这几个资源都是会带OTA功能的路径不能动
LoadResourceWithTemplAndCheckRet(InfrastConfig, "infrast.json"_p, "template"_p / "infrast"_p);