♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
GarfieldandCopilot committed 2026-11-16 14:07:45 +08:00
1 parent 818a3d9067
commit a8ce4da366
13 files changed
+42 -42

No files matched your search

@@ -35,7 +35,7 @@ Source.__index = Source
---@return JdreadSource
function Jdread.new()
local cfg = require("utils.settings").getSource("ext.jdread")
local cfg = require("utils.settings").getSource("jdread")
local meta = Jdread.meta()
return setmetatable({
id = meta.id,
@@ -279,7 +279,7 @@ local function fetchContent(self, identity, chapter, cb)
end
asset_job = Assets.localizeAsync(
payload.html,
Paths.bookWorkDir(identity.stable_id, "ext.jdread") .. "/images",
Paths.bookWorkDir(identity.stable_id, "jdread") .. "/images",
downloadImage,
function(html)
if cancelled then return end