✨ Sync 2026-07-12 20:20:38

This commit is contained in:
github-actions[bot] committed 2026-07-12 20:20:38 +08:00
1 parent dbdb9f9a83
commit b86601428a
38 files changed
+805 -483

No files matched your search

@@ -104,6 +104,7 @@ function index()
for com, _ in pairs(coms) do
entry({"admin", "services", appname, "check_" .. com}, call("com_check", com)).leaf = true
entry({"admin", "services", appname, "update_" .. com}, call("com_update", com)).leaf = true
entry({"admin", "services", appname, "version_" .. com}, call("com_version", com)).leaf = true
end
--[[Backup]]
@@ -755,6 +756,11 @@ function com_update(comname)
http_write_json(json)
end
function com_version(comname)
local version = api.get_app_version(comname)
http_write_json_ok(version)
end
local backup_files = {
"/etc/config/passwall2",
"/etc/config/passwall2_server",