File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
+ ## [ v3.7.6] ( https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.6 ) (2020-01-03)
3
+ - 添加 docker 容器内update.sh命令支持
2
4
3
5
## [ v3.7.5] ( https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.5 ) (2019-11-29)
4
6
- 加入生成随机邮箱 [ #253 ] ( https://github.com/Jrohy/multi-v2ray/issues/253 )
Original file line number Diff line number Diff line change 1
- __version__ = '3.7.5. 6'
1
+ __version__ = '3.7.6'
2
2
3
3
from .util_core .trans import _
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def help():
69
69
70
70
def updateSh ():
71
71
if os .path .exists ("/.dockerenv" ):
72
- print ( ColorStr . yellow ( "docker run not support update!" ) )
72
+ subprocess . Popen ( "pip install -U v2ray_util" , shell = True ). wait ( )
73
73
else :
74
74
subprocess .Popen ("curl -Ls https://multi.netlify.com/v2ray.sh -o temp.sh" , shell = True ).wait ()
75
75
subprocess .Popen ("bash temp.sh -k && rm -f temp.sh" , shell = True ).wait ()
You can’t perform that action at this time.
0 commit comments