forked from gopythonre/ClashWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ahkclashweb.bat
89 lines (66 loc) · 1.2 KB
/
ahkclashweb.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
SET PATH="%~dp0";"%~dp0App";"%~dp0Python";"%~dp0Python\Scripts";"%~dp0Python\Lib\distutils\command";"%~dp0Python\Lib\site-packages\pip\_vendor\distlib";"%~dp0Python\Lib\site-packages\setuptools";%PATH%
goto %1
:addconfig
python node.py addconfig
exit
:direct
python node.py directmode
exit
:myexit
taskkill /F /IM python.exe
python node.py closeclashweb
taskkill /F /IM python.exe
exit
:geoip
python node.py geoipupdate
python node.py restart
exit
:global
python node.py globalmode
exit
:ipip
python node.py ipipupdate
python node.py restart
exit
:openclashweb
taskkill /F /IM python.exe
python api.py
exit
:opendashboard
python node.py opendashboard
exit
:restartclash
python node.py saveandclose
python node.py startandset
exit
:restartconfig
python node.py restart
exit
:rule
python node.py rulemode
exit
:save
python node.py save
exit
:stopclash
python node.py saveandclose
exit
:stopclashweb
taskkill /F /IM python.exe
exit
:updateconfig
python node.py updateconfig
exit
:restarttun
python node.py saveandclose
python node.py tunstart
exit
:stoptun
python node.py saveandclose
exit
:updateruleprovider
python node.py updateruleprovider
exit
:updateproxyprovider
python node.py updateproxyprovider
exit