Skip to content

Commit

Permalink
添加 docker 容器内update.sh命令支持
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jan 3, 2020
1 parent 3509629 commit 3aedd99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Change Log
## [v3.7.6](https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.6)(2020-01-03)
- 添加 docker 容器内update.sh命令支持

## [v3.7.5](https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.5)(2019-11-29)
- 加入生成随机邮箱 [#253](https://github.com/Jrohy/multi-v2ray/issues/253)
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.5.6'
__version__ = '3.7.6'

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 @@ -69,7 +69,7 @@ def help():

def updateSh():
if os.path.exists("/.dockerenv"):
print(ColorStr.yellow("docker run not support update!"))
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("bash temp.sh -k && rm -f temp.sh", shell=True).wait()
Expand Down

0 comments on commit 3aedd99

Please sign in to comment.