mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: fixed Auto-connect for BS hyper-v
This commit is contained in:
4
alas.bat
4
alas.bat
@@ -877,8 +877,8 @@ goto :eof
|
|||||||
:CheckBsBeta
|
:CheckBsBeta
|
||||||
call :process_checker
|
call :process_checker
|
||||||
if "%RealtimeMode%"=="disable" ( goto AdbConnect )
|
if "%RealtimeMode%"=="disable" ( goto AdbConnect )
|
||||||
for /f "skip=1 tokens=10 delims=," %%a in ('tasklist /fi "imagename eq bluestacks.exe" /fo:csv /v /fi "status ne NOT RESPONDING"') do ( set WINDOW=%%a )
|
for /f skip^=1^ tokens^=17^ delims^=^" %%a in ('tasklist /fi "imagename eq bluestacks.exe" /fo:csv /v /fi "status ne NOT RESPONDING"') do ( set WINDOW=%%a )
|
||||||
set WINDOW=%WINDOW:"=%
|
rem set WINDOW=%WINDOW:"=%
|
||||||
set WINDOW=%WINDOW: =%
|
set WINDOW=%WINDOW: =%
|
||||||
if not "%WINDOW%"=="BlueStacks" (
|
if not "%WINDOW%"=="BlueStacks" (
|
||||||
set WINDOW=%WINDOW:~10,1%
|
set WINDOW=%WINDOW:~10,1%
|
||||||
|
|||||||
Reference in New Issue
Block a user