luci: fixed part of #2745

This commit is contained in:
zhusir 2023-09-14 01:03:02 +08:00 committed by sbwml
parent f6365e6b9b
commit e99c858b85

View File

@ -23,7 +23,7 @@ _M.hysteria = {
name = "Hysteria", name = "Hysteria",
repo = "HyNetwork/hysteria", repo = "HyNetwork/hysteria",
get_url = gh_release_url, get_url = gh_release_url,
cmd_version = "-v | awk '{print $3}'", cmd_version = "version | awk '/^Version:/ {print $2}'",
zipped = false, zipped = false,
default_path = "/usr/bin/hysteria", default_path = "/usr/bin/hysteria",
match_fmt_str = "linux%%-%s$", match_fmt_str = "linux%%-%s$",