Browse Source

一键安装脚本更新

zjcqoo 6 years ago
parent
commit
fbb537d5ea
1 changed files with 2 additions and 3 deletions
  1. 2 3
      i.sh

+ 2 - 3
i.sh

@@ -1,13 +1,12 @@
 #!/usr/bin/env sh
 
-CDN=https://cdn.jsdelivr.net/gh/etherdream/jsproxy-bin@master/dist/
 DST=/home/jsproxy/setup.sh
 
-
 groupadd nobody
 useradd jsproxy -g nobody --create-home
 
-curl -s "$CDN/setup.sh" -o $DST
+echo "download main script ..."
+curl -s "https://raw.githubusercontent.com/EtherDream/jsproxy-bin/master/setup.sh" -o $DST
 chmod +x $DST
 
 su - jsproxy -c $DST