Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ccapton committed Sep 18, 2018
1 parent 6ae8472 commit d8b2e6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!--这里一定要固定格式,不然脚本升级时解析版本号时可能会出错-->
<!--注意!-->
<!--注意!-->
### [v0.9.5](https://github.com/Ccapton/brook-ok/releases/download/v0.9.5/brook-ok.py)
### [v0.9.6](https://github.com/Ccapton/brook-ok/releases/download/v0.9.6/brook-ok.py)

[Brook](https://github.com/txthinking/brook) 服务端配置程序 ( Linux | MacOS )

Expand Down
5 changes: 3 additions & 2 deletions brook-ok.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

brook_version = ''

version = '0.9.5'
version = '0.9.6'
title = ' Brook服务端配置程序 v%s '% version
headline = '-'*10 + title +'-'*10

Expand Down Expand Up @@ -351,7 +351,8 @@ def addPort(isBrook=True):
else:
configjson['shadowsocks'].append({'port':port,'psw':str(psw)})
saveConfigJson(configjson)
restartBrook()
if isBrook:restartBrook()
else:restartShadowsocks()
manageBrook()

def editPort(isBrook=True):
Expand Down

0 comments on commit d8b2e6c

Please sign in to comment.