🎨 Sync 2025-11-16 00:10:11

This commit is contained in:
actions-user
2025-11-16 00:10:11 +08:00
parent 7d627be079
commit e8a77828f8
7 changed files with 82 additions and 62 deletions

View File

@@ -1139,7 +1139,7 @@ function get_version()
if not version or #version == 0 then
version = sys.exec("apk list luci-app-passwall 2>/dev/null | awk '/installed/ {print $1}' | cut -d'-' -f4-")
end
return version or ""
return (version or ""):gsub("\n", "")
end
function to_check_self()