Suppress misleading error on stop process

This commit is contained in:
LoveSy authored and GitHub committed 2022-02-23 03:27:33 +08:00
1 parent c55101a505
commit 9a1c2fc1b7
1 file changed
+1 -1
+1 -1
View File
@@ -549,7 +549,7 @@ jobs:
}
Clear-Host
Write-Host "Installing MagiskOnWSA..."
Stop-Process -Name "wsaclient"
Stop-Process -Name "wsaclient" -ErrorAction "silentlycontinue"
Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion -Register .\AppxManifest.xml
if (\$?) {
Finish