Start shell instead

Fix #121
This commit is contained in:
LoveSy 2021-12-06 17:48:28 +08:00 committed by GitHub
parent 385e0fa540
commit 8b2c9b86d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -415,7 +415,7 @@ jobs:
Write-Output "Unmounting patched WSA registry hive." Write-Output "Unmounting patched WSA registry hive."
reg unload \$regMountPoint reg unload \$regMountPoint
Write-Output "starting an App to force the creation of the rw sdcard" Write-Output "starting an App to force the creation of the rw sdcard"
start-process "\$env:LOCALAPPDATA/Microsoft/WindowsApps/MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe/WsaClient.exe" -Args "/launch wsa://com.amazon.venezia" start-process "\$env:LOCALAPPDATA/Microsoft/WindowsApps/MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe/WsaClient.exe" -Args "/launch wsa://com.android.shell"
Write-Output "Waiting for the Android system to boot for the first time..." Write-Output "Waiting for the Android system to boot for the first time..."
./adb kill-server ./adb kill-server
do{}until((./adb connect localhost:58526).Contains("connected")) do{}until((./adb connect localhost:58526).Contains("connected"))