🐛 修复书源加载失败与描述格式

loadmeta 返回函数,修 new() 时报 attempt to call a table;
插件描述统一成「月读书源:哔哩哔哩漫画」,main.lua 与其它书源一致。
This commit is contained in:
Garfield committed 2026-11-27 07:43:52 +08:00
1 parent 455891353c
commit 4a031e00c5
5 files changed
+11 -17

No files matched your search

+3 -7
View File
@@ -1,10 +1,6 @@
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")
--[[--
KOReader 只认带 main.lua 的插件目录;书源本身不需要任何插件钩子,月读读取旁边的 moon_source.lua。
--]]
local WidgetContainer = require("ui/widget/container/widgetcontainer")
return WidgetContainer:extend{