Browse Source

Update trojan_install.sh

蘭雅sRGB 4 năm trước cách đây
mục cha
commit
2cede01e74
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      trojan/trojan_install.sh

+ 1 - 1
trojan/trojan_install.sh

@@ -4,7 +4,7 @@
 # bash <(curl -L -s https://git.io/trojan.sh)
 
 # Trojan Server Quickstart Script
-sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/trojan-gfw/trojan-quickstart/master/trojan-quickstart.sh)"
+wget -qO- https://raw.githubusercontent.com/trojan-gfw/trojan-quickstart/master/trojan-quickstart.sh | bash
 
 # 填充域名证书 公钥
 cat <<EOF > /var/certificate.crt