fix: 无法热更

This commit is contained in:
uye
2025-04-27 03:17:01 +08:00
parent b9018942f2
commit 328153c11b
2 changed files with 6 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ bool asst::TaskData::load(const std::filesystem::path& path)
json::value merged = json::object();
if (is_regular_file(path)) {
Log.debug("TaskData::load", "Loading json file:", path);
auto ret = json::open(path, true);
if (!ret) {
Log.error("TaskData::load", "Json open failed:", path);