Skip to content

Commit c30ca9f

Browse files
committed
fix install
1 parent b808fc0 commit c30ca9f

File tree

8 files changed

+13
-14
lines changed

8 files changed

+13
-14
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM centos:latest as builder
22

3-
RUN curl -L -s https://install.direct/go.sh|bash
3+
RUN curl -L -s https://multi.netlify.app/go.sh|bash
44

55
FROM alpine:latest
66

go.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

3-
# This file is accessible as https://install.direct/go.sh
4-
# Original source is located at github.com/v2fly/v2ray-core/release/install-release.sh
3+
# This file is accessible as https://multi.netlify.app/go.sh
54

65
# If not specify, default meaning of return value:
76
# 0: Success

v2ray.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ help(){
8484
}
8585

8686
removeV2Ray() {
87-
#卸载V2ray官方脚本
88-
bash <(curl -L -s https://install.direct/go.sh) --remove >/dev/null 2>&1
87+
#卸载V2ray脚本
88+
bash <(curl -L -s https://multi.netlify.app/go.sh) --remove >/dev/null 2>&1
8989
rm -rf /etc/v2ray >/dev/null 2>&1
9090
rm -rf /var/log/v2ray >/dev/null 2>&1
9191

@@ -193,9 +193,9 @@ updateProject() {
193193

194194
#安装/更新V2ray主程序
195195
if [[ $NETWORK == 1 ]];then
196-
bash <(curl -L -s https://install.direct/go.sh) --source jsdelivr
196+
bash <(curl -L -s https://multi.netlify.app/go.sh) --source jsdelivr
197197
else
198-
bash <(curl -L -s https://install.direct/go.sh)
198+
bash <(curl -L -s https://multi.netlify.app/go.sh)
199199
fi
200200
}
201201

v2ray_util/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '3.7.7.9'
1+
__version__ = '3.7.8'
22

33
from .util_core.trans import _

v2ray_util/global_setting/update_timer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def planUpdate():
3333
else:
3434
local_time = 3
3535
os.system('echo "SHELL=/bin/bash" >> crontab.txt && echo "$(crontab -l)" >> crontab.txt')
36-
os.system('echo "0 {} * * * bash <(curl -L -s https://install.direct/go.sh) | tee -a /root/v2rayUpdate.log && v2ray-util restart" >> crontab.txt'.format(local_time))
36+
os.system('echo "0 {} * * * bash <(curl -L -s https://multi.netlify.app/go.sh) | tee -a /root/v2rayUpdate.log && v2ray-util restart" >> crontab.txt'.format(local_time))
3737
os.system("crontab crontab.txt && rm -f crontab.txt")
3838
restartCron()
3939
print(ColorStr.green(_("success open schedule update task!")))
6 Bytes
Binary file not shown.

v2ray_util/locale_i18n/zh_CH/LC_MESSAGES/lang.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ msgstr "清理v2ray日志成功!"
204204
msgid "ipv6 network not support update v2ray online, please manual donwload v2ray to update!"
205205
msgstr "ipv6 网络不支持v2ray的在线更新, 请手动下载v2ray来更新!"
206206

207-
msgid "download v2ray-linux-xx.zip and run 'bash <(curl -L -s https://install.direct/go.sh) -l v2ray-linux-xx.zip' to update"
208-
msgstr "下载v2ray-linux-xx.zip包然后运行 'bash <(curl -L -s https://install.direct/go.sh) -l v2ray-linux-xx.zip' 来更新"
207+
msgid "download v2ray-linux-xx.zip and run 'bash <(curl -L -s https://multi.netlify.app/go.sh) -l v2ray-linux-xx.zip' to update"
208+
msgstr "下载v2ray-linux-xx.zip包然后运行 'bash <(curl -L -s https://multi.netlify.app/go.sh) -l v2ray-linux-xx.zip' 来更新"
209209

210210
msgid "check v2ray no install, auto install v2ray.."
211211
msgstr "检测到本机没安装v2ray, 正在自动安装.."

v2ray_util/util_core/v2ray.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ def info():
8484
def update():
8585
if is_ipv6(get_ip()):
8686
print(ColorStr.yellow(_("ipv6 network not support update v2ray online, please manual donwload v2ray to update!")))
87-
print(ColorStr.fuchsia(_("download v2ray-linux-xx.zip and run 'bash <(curl -L -s https://install.direct/go.sh) -l v2ray-linux-xx.zip' to update")))
87+
print(ColorStr.fuchsia(_("download v2ray-linux-xx.zip and run 'bash <(curl -L -s https://multi.netlify.app/go.sh) -l v2ray-linux-xx.zip' to update")))
8888
return
8989
if os.path.exists("/.dockerenv"):
9090
V2ray.stop()
91-
subprocess.Popen("curl -L -s https://install.direct/go.sh|bash", shell=True).wait()
91+
subprocess.Popen("curl -L -s https://multi.netlify.app/go.sh|bash", shell=True).wait()
9292
if os.path.exists("/.dockerenv"):
9393
V2ray.start()
9494

@@ -139,7 +139,7 @@ def check(cls):
139139
if not os.path.exists("/usr/bin/v2ray/v2ray"):
140140
print(ColorStr.yellow(_("check v2ray no install, auto install v2ray..")))
141141
if is_ipv6(get_ip()):
142-
subprocess.Popen("curl -Ls https://install.direct/go.sh -o temp.sh", shell=True).wait()
142+
subprocess.Popen("curl -Ls https://multi.netlify.app/go.sh -o temp.sh", shell=True).wait()
143143
subprocess.Popen("bash temp.sh --source jsdelivr && rm -f temp.sh", shell=True).wait()
144144
else:
145145
cls.update()

0 commit comments

Comments
 (0)