Files
Garfield 4a031e00c5 🐛 修复书源加载失败与描述格式
loadmeta 返回函数,修 new() 时报 attempt to call a table;
插件描述统一成「月读书源:哔哩哔哩漫画」,main.lua 与其它书源一致。
2026-11-27 07:43:52 +08:00

9 lines
276 B
Lua

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
return function()
return require("moonsource_bilimanga._meta")
end