🐛 修复书源加载失败与描述格式
loadmeta 返回函数,修 new() 时报 attempt to call a table; 插件描述统一成「月读书源:哔哩哔哩漫画」,main.lua 与其它书源一致。
This commit is contained in:
1 parent
455891353c
commit
4a031e00c5
5 files changed
+11
-17
No files matched your search
@@ -1,9 +1,5 @@
|
||||
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("gettext")
|
||||
return {
|
||||
fullname = "哔哩哔哩漫画书源",
|
||||
description = "moonsource-bilimanga",
|
||||
fullname = _("月读书源:哔哩哔哩漫画"),
|
||||
description = _("给月读增加「哔哩哔哩漫画」书源。需要同时安装月读,与平台官方无关。"),
|
||||
}
|
||||
Reference in new issue
Block a user