fix(cli): update install_hysteria2 to return output message

This commit is contained in:
ReturnFI
2025-12-14 20:41:38 +00:00
parent 7d8526e5c0
commit 9972f0f89b
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ install_hysteria() {
wget -O /etc/hysteria/geosite.dat https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat >/dev/null 2>&1
wget -O /etc/hysteria/geoip.dat https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip.dat >/dev/null 2>&1
echo "Generating base64 encoded SHA-256 fingerprint..."
echo "Generating SHA-256 fingerprint..."
sha256=$(openssl x509 -noout -fingerprint -sha256 -inform pem -in ca.crt | sed 's/.*=//;s///g')