Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ if ($ev) {
$process.WaitForExit()
[Console]::Out.Flush()
Write-Output "User command timed out after $command_timeout seconds!"
$adb_path=dotnet xharness android state --adb
Comment thread
greenEkatherine marked this conversation as resolved.
Outdated
$packages=& $adb_path shell pm list packages net.dot
$split_packages=$packages.split(':')
For ($i=1; $i -lt $split_packages.Length; $i+=2) {
echo $split_packages[$i] | %{&$adb_path uninstall $_}
Comment thread
greenEkatherine marked this conversation as resolved.
Outdated
}
} else {
$exit_code = $process.ExitCode
Write-Output "User command ended with $exit_code"
Expand Down