chore: TaskLoad补一条提示

[skip changelog]
This commit is contained in:
status102
2026-03-10 23:29:58 +08:00
parent 82dadff346
commit 5eb65d0e79

View File

@@ -170,6 +170,7 @@ 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 v5.15.4");
Log.warn(__FUNCTION__, "Please use resource/tasks/*.json instead");
Log.warn("================ DEPRECATED ================");
if (!load_with_templ.template operator()<TaskData>("tasks.json"_p, "template"_p, "TaskData")) {
return false;