✨ (update): 书源插件加入检查更新与自动更新
每个插件带一份 update.lua 副本(源在 src/_common),所有插件同版本, 一个需要更新则已装的全部一起更新;设置项只由第一个插件登记到「书库 → 更新」。 打包时注入 version.lua 的版本号,README 与测试同步。 Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
86b1f0c562
commit
1f89dc822f
3 files changed
+476
-1
No files matched your search
@@ -0,0 +1,4 @@
|
||||
-- 版本号由 tools/package.sh 打包时把占位符换成发布版本;源码运行显示 0.0.0-dev。
|
||||
local VERSION = "@VERSION@"
|
||||
if VERSION:find("^@") then return "0.0.0-dev" end
|
||||
return VERSION
|
||||
Reference in new issue
Block a user