mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
path rewrite
This commit is contained in:
parent
1a5b3a5212
commit
1c422ece12
13
generate.py
13
generate.py
|
@ -7,11 +7,14 @@ import json
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
|
|
||||||
path_get_gateway = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'tools/get-gateway.py')
|
wgop_basepath = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||||
path_get_ip = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'tools/get-ip.py')
|
|
||||||
path_get_lan_ip = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'tools/get-lan-ip.py')
|
path_get_gateway = os.path.join(wgop_basepath, 'tools/get-gateway.py')
|
||||||
path_bin_dir = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'bin')
|
path_get_ip = os.path.join(wgop_basepath, 'tools/get-ip.py')
|
||||||
path_app_dir = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'app')
|
path_get_lan_ip = os.path.join(wgop_basepath, 'tools/get-lan-ip.py')
|
||||||
|
path_bin_dir = os.path.join(wgop_basepath, 'bin')
|
||||||
|
path_app_dir = os.path.join(wgop_basepath, 'app')
|
||||||
|
|
||||||
|
|
||||||
class Parser:
|
class Parser:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user