File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,12 @@ def Driver(
249
249
enable_ws = False
250
250
if undetectable or undetected or uc or uc_subprocess or uc_sub :
251
251
undetectable = True
252
+ if (
253
+ (undetectable or undetected or uc )
254
+ and uc_subprocess is None
255
+ and uc_sub is None
256
+ ):
257
+ uc_subprocess = True # Use UC as a subprocess by default.
252
258
elif (
253
259
"--undetectable" in sys_argv
254
260
or "--undetected" in sys_argv
Original file line number Diff line number Diff line change @@ -388,6 +388,12 @@ def SB(
388
388
disable_ws = True
389
389
if undetectable or undetected or uc or uc_subprocess or uc_sub :
390
390
undetectable = True
391
+ if (
392
+ (undetectable or undetected or uc )
393
+ and uc_subprocess is None
394
+ and uc_sub is None
395
+ ):
396
+ uc_subprocess = True # Use UC as a subprocess by default.
391
397
elif (
392
398
"--undetectable" in sys_argv
393
399
or "--undetected" in sys_argv
You can’t perform that action at this time.
0 commit comments