mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: 无法热更
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user