File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,11 @@ Options:
17
17
--interval=<time> Interval to pull tasks (ms).
18
18
[env: INTERVAL] [default: 1280]
19
19
20
- --ws-limit=<limit> Limit of WebSocket connections to live.bilibili.com
20
+ --ws-limit=<limit> Limit of WebSocket connections to live.bilibili.com.
21
21
[env: LIMIT]
22
+
23
+ --uuid=<uuid> UUID for stats tracking.
24
+ [env: UUID]
22
25
23
26
--no-dns-cache Disable DNS cache
24
27
[env: NO_DNS_CACHE]
@@ -40,6 +43,7 @@ start({
40
43
anonymous : args [ '--anonymous' ] ,
41
44
nickname : args [ '--nickname' ] ,
42
45
limit : args [ '--ws-limit' ] ,
46
+ uuid : args [ '--uuid' ] ,
43
47
noDnsCache : args [ '--no-dns-cache' ] ,
44
48
verbose : process . env . development || args [ '--verbose' ]
45
49
} )
@@ -50,6 +54,7 @@ function start({
50
54
anonymous = false ,
51
55
nickname,
52
56
limit = Infinity ,
57
+ uuid,
53
58
noDnsCache = false ,
54
59
verbose = false
55
60
} ) {
@@ -77,6 +82,9 @@ function start({
77
82
if ( process . env . docker ) {
78
83
url . searchParams . set ( 'docker' , 'docker' )
79
84
}
85
+ if ( uuid ) {
86
+ url . searchParams . set ( 'uuid' , uuid )
87
+ }
80
88
}
81
89
82
90
if ( nickname ) {
You can’t perform that action at this time.
0 commit comments