浏览代码

dev 路径测试

zjcqoo 6 年之前
父节点
当前提交
aca6e08abc
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      README.md
  2. 4 4
      i.sh

+ 1 - 1
README.md

@@ -19,7 +19,7 @@ https://jsproxy.tk/-----https://www.google.com
 # 安装
 
 ```bash
-curl -O https://raw.githubusercontent.com/EtherDream/jsproxy/master/i.sh | bash
+curl https://raw.githubusercontent.com/EtherDream/jsproxy/dev/i.sh | bash
 ```
 
 * 自动安装目前只支持 Linux x64,并且需要 root 权限

+ 4 - 4
i.sh

@@ -2,13 +2,13 @@
 
 { # this ensures the entire script is downloaded #
 
-SRC_URL=https://raw.githubusercontent.com/EtherDream/jsproxy/master
+JSPROXY_VER=dev
+OPENRESTY_VER=1.15.8.1
+
+SRC_URL=https://raw.githubusercontent.com/EtherDream/jsproxy/$JSPROXY_VER
 BIN_URL=https://raw.githubusercontent.com/EtherDream/jsproxy-bin/master
 ZIP_URL=https://codeload.github.com/EtherDream/jsproxy/tar.gz
 
-JSPROXY_VER=master
-OPENRESTY_VER=1.15.8.1
-
 SUPPORTED_OS="Linux-x86_64"
 OS="$(uname)-$(uname -m)"
 USER=$(whoami)