mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-27 04:07:11 +00:00
rename target from 'tun2proxy' to 'tun2proxy-bin'
make rust compiler happy
This commit is contained in:
parent
77d651dc70
commit
6c8ae7a33f
10 changed files with 24 additions and 24 deletions
|
@ -29,8 +29,8 @@ def get_ip(version=None):
|
|||
|
||||
|
||||
def get_tool_path():
|
||||
default = glob.glob(os.path.join(os.path.dirname(__file__), '..', 'target', '*', 'tun2proxy'))
|
||||
default = default[0] if len(default) > 0 else 'tun2proxy'
|
||||
default = glob.glob(os.path.join(os.path.dirname(__file__), '..', 'target', '*', 'tun2proxy-bin'))
|
||||
default = default[0] if len(default) > 0 else 'tun2proxy-bin'
|
||||
return os.environ.get('TOOL_PATH', default)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue