Skip to content

Commit 3aedd99

Browse files
committed
添加 docker 容器内update.sh命令支持
1 parent 3509629 commit 3aedd99

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Change Log
2+
## [v3.7.6](https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.6)(2020-01-03)
3+
- 添加 docker 容器内update.sh命令支持
24

35
## [v3.7.5](https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.5)(2019-11-29)
46
- 加入生成随机邮箱 [#253](https://github.com/Jrohy/multi-v2ray/issues/253)

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.5.6'
1+
__version__ = '3.7.6'
22

33
from .util_core.trans import _

v2ray_util/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def help():
6969

7070
def updateSh():
7171
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()
7373
else:
7474
subprocess.Popen("curl -Ls https://multi.netlify.com/v2ray.sh -o temp.sh", shell=True).wait()
7575
subprocess.Popen("bash temp.sh -k && rm -f temp.sh", shell=True).wait()

0 commit comments

Comments
 (0)