mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-21 12:26:36 +08:00
Provisioning: Fix adb process name for android sdk installation
There's no process called "adb.exe" - It's called "adb" Change-Id: I3c23ede12a6d7fc7f3f33bbb806a84e8d9a2aaf4 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -91,7 +91,7 @@ SdkUpdate $sdkFolder platform-tools
|
|||||||
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
||||||
|
|
||||||
# kill adb. This process prevents provisioning to continue
|
# kill adb. This process prevents provisioning to continue
|
||||||
$p = Get-Process -Name "adb.exe" -ErrorAction:SilentlyContinue
|
$p = Get-Process -Name "adb" -ErrorAction:SilentlyContinue
|
||||||
if ($p -ne $null) {
|
if ($p -ne $null) {
|
||||||
Write-Host "Stopping adb.exe"
|
Write-Host "Stopping adb.exe"
|
||||||
Stop-Process -Force $p
|
Stop-Process -Force $p
|
||||||
|
|||||||
Reference in New Issue
Block a user