Added Core Version

This commit is contained in:
Whispering Wind
2024-12-18 22:52:07 +03:30
committed by GitHub
parent bd26e2ac9b
commit 2d0510ac3e

View File

@ -18,6 +18,7 @@ get_system_info() {
IP=$(echo "$IP_API_DATA" | jq -r '.ip')
CPU=$(top -bn1 | grep "Cpu(s)" | awk '{print $2 + $4 "%"}')
RAM=$(free -m | awk 'NR==2{printf "%.2f%%", $3*100/$2 }')
HCVERSION=$(hysteria version | grep "^Version:" | awk '{print $2}')
}
version_greater_equal() {