feat: refresh model and voice test catalog with favicon

This commit is contained in:
AdamWen95
2026-10-20 11:06:52 +08:00
parent ae7c5bc967
commit 36c228544e
23 changed files with 1026 additions and 42 deletions
+3
View File
@@ -180,6 +180,9 @@ def discover(store):
item["version"] += 1
item["enabled"] = False
reason = "源文件已变动,请重新确认配置并启用"
elif before and digest and not before["enabled"] and before.get("reason") == "源文件已变动,请重新确认配置并启用":
# A second scan must not clear the outstanding source-change review.
reason = before["reason"]
if blocked:
item["enabled"] = False
item.update(sha256=digest, blocked=blocked, reason="" if item["enabled"] else reason,