✨ (bilimanga): 新增哔哩哔哩漫画书源并收进 src/
附协议分析笔记,沿用统一的 update.lua 与打包脚本。 Co-authored-by: Copilot <[email protected]>
This commit is contained in:
commit
f9d07c95fb
17 files changed
+2455
No files matched your search
@@ -0,0 +1,19 @@
|
||||
local PLUGIN_DIR = debug.getinfo(1, "S").source:match("^@(.*)/[^/]*$") or "."
|
||||
if not package.path:find(PLUGIN_DIR .. "/?.lua", 1, true) then
|
||||
package.path = PLUGIN_DIR .. "/?.lua;" .. package.path
|
||||
end
|
||||
local _ = require("moonsource_bilimanga.l10n")
|
||||
|
||||
local function lazy(module)
|
||||
return setmetatable({}, { __index = function(_, key) return require(module)[key] end })
|
||||
end
|
||||
|
||||
return {
|
||||
api = 1,
|
||||
provides = {
|
||||
source = true,
|
||||
},
|
||||
meta = function() return require("moonsource_bilimanga.loadmeta") end,
|
||||
new = function() return require("moonsource_bilimanga.source").new() end,
|
||||
setting = lazy("moonsource_bilimanga.setting"),
|
||||
}
|
||||
Reference in new issue
Block a user