File tree Expand file tree Collapse file tree 8 files changed +13
-14
lines changed
locale_i18n/zh_CH/LC_MESSAGES Expand file tree Collapse file tree 8 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 1
1
FROM centos:latest as builder
2
2
3
- RUN curl -L -s https://install.direct /go.sh|bash
3
+ RUN curl -L -s https://multi.netlify.app /go.sh|bash
4
4
5
5
FROM alpine:latest
6
6
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
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
5
4
6
5
# If not specify, default meaning of return value:
7
6
# 0: Success
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ help(){
84
84
}
85
85
86
86
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
89
89
rm -rf /etc/v2ray > /dev/null 2>&1
90
90
rm -rf /var/log/v2ray > /dev/null 2>&1
91
91
@@ -193,9 +193,9 @@ updateProject() {
193
193
194
194
# 安装/更新V2ray主程序
195
195
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
197
197
else
198
- bash <( curl -L -s https://install.direct /go.sh)
198
+ bash <( curl -L -s https://multi.netlify.app /go.sh)
199
199
fi
200
200
}
201
201
Original file line number Diff line number Diff line change 1
- __version__ = '3.7.7.9 '
1
+ __version__ = '3.7.8 '
2
2
3
3
from .util_core .trans import _
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def planUpdate():
33
33
else :
34
34
local_time = 3
35
35
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 ))
37
37
os .system ("crontab crontab.txt && rm -f crontab.txt" )
38
38
restartCron ()
39
39
print (ColorStr .green (_ ("success open schedule update task!" )))
Original file line number Diff line number Diff line change @@ -204,8 +204,8 @@ msgstr "清理v2ray日志成功!"
204
204
msgid "ipv6 network not support update v2ray online, please manual donwload v2ray to update!"
205
205
msgstr "ipv6 网络不支持v2ray的在线更新, 请手动下载v2ray来更新!"
206
206
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' 来更新"
209
209
210
210
msgid "check v2ray no install, auto install v2ray.."
211
211
msgstr "检测到本机没安装v2ray, 正在自动安装.."
Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ def info():
84
84
def update ():
85
85
if is_ipv6 (get_ip ()):
86
86
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" )))
88
88
return
89
89
if os .path .exists ("/.dockerenv" ):
90
90
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 ()
92
92
if os .path .exists ("/.dockerenv" ):
93
93
V2ray .start ()
94
94
@@ -139,7 +139,7 @@ def check(cls):
139
139
if not os .path .exists ("/usr/bin/v2ray/v2ray" ):
140
140
print (ColorStr .yellow (_ ("check v2ray no install, auto install v2ray.." )))
141
141
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 ()
143
143
subprocess .Popen ("bash temp.sh --source jsdelivr && rm -f temp.sh" , shell = True ).wait ()
144
144
else :
145
145
cls .update ()
You can’t perform that action at this time.
0 commit comments