Skip to content

Commit

Permalink
fix install link
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Apr 16, 2020
1 parent d49d66c commit f98a010
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ V2ray多用户管理脚本,向导式管理[新增|删除|修改]传输协议

## 安装命令
```
source <(curl -sL https://multi.netlify.com/v2ray.sh) --zh
source <(curl -sL https://multi.netlify.app/v2ray.sh) --zh
```

## 升级命令(保留配置文件更新)
```
source <(curl -sL https://multi.netlify.com/v2ray.sh) -k
source <(curl -sL https://multi.netlify.app/v2ray.sh) -k
```

## 卸载命令
```
source <(curl -sL https://multi.netlify.com/v2ray.sh) --remove
source <(curl -sL https://multi.netlify.app/v2ray.sh) --remove
```

## 命令行参数
Expand Down
6 changes: 3 additions & 3 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ a tool to manage v2ray config json, support multiple user && group manage
## How To Use
new install
```
source <(curl -sL https://v2rays.netlify.com/install.sh)
source <(curl -sL https://v2rays.netlify.app/install.sh)
```

keep profile to update
```
source <(curl -sL https://v2rays.netlify.com/install.sh) -k
source <(curl -sL https://v2rays.netlify.app/install.sh) -k
```

uninstall
```
source <(curl -sL https://v2rays.netlify.com/install.sh) --remove
source <(curl -sL https://v2rays.netlify.app/install.sh) --remove
```

## Command Line
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL maintainer "Jrohy <[email protected]>"

ENV COMPLETION_FILE "/usr/share/bash-completion/completions/v2ray"

ENV SOURCE_COMPLETION_FILE "https://multi.netlify.com/v2ray"
ENV SOURCE_COMPLETION_FILE "https://multi.netlify.app/v2ray"

ENV VERSION_LIST "https://api.github.com/repos/Jrohy/multi-v2ray/tags"

Expand Down
4 changes: 2 additions & 2 deletions v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ REMOVE=0

CHINESE=0

BASE_SOURCE_PATH="https://multi.netlify.com"
BASE_SOURCE_PATH="https://multi.netlify.app"

UTIL_PATH="/etc/v2ray_util/util.cfg"

Expand Down Expand Up @@ -163,7 +163,7 @@ installDependent(){
fi

#install python3 & pip
bash <(curl -sL https://python3.netlify.com/install.sh)
bash <(curl -sL https://python3.netlify.app/install.sh)
}

updateProject() {
Expand Down
2 changes: 1 addition & 1 deletion v2ray_util/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '3.7.7.7'
__version__ = '3.7.7.8'

from .util_core.trans import _
2 changes: 1 addition & 1 deletion v2ray_util/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def updateSh():
if os.path.exists("/.dockerenv"):
subprocess.Popen("pip install -U v2ray_util", shell=True).wait()
else:
subprocess.Popen("curl -Ls https://multi.netlify.com/v2ray.sh -o temp.sh", shell=True).wait()
subprocess.Popen("curl -Ls https://multi.netlify.app/v2ray.sh -o temp.sh", shell=True).wait()
subprocess.Popen("bash temp.sh -k && rm -f temp.sh", shell=True).wait()

def parse_arg():
Expand Down
2 changes: 1 addition & 1 deletion v2ray_util/util_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def gen_cert(domain):
if ":" in local_ip:
if not os.path.exists("/root/.acme.sh/"):
os.makedirs("/root/.acme.sh")
os.system("curl https://acme-install.netlify.com/acme.sh -o /root/.acme.sh/acme.sh")
os.system("curl https://acme-install.netlify.app/acme.sh -o /root/.acme.sh/acme.sh")
else:
os.system("curl https://get.acme.sh | sh")

Expand Down

0 comments on commit f98a010

Please sign in to comment.