mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-23 16:59:46 +00:00
Shutdown WSA before install
This commit is contained in:
parent
25dc1d6597
commit
01afe6752f
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ If (($null -Ne $Installed) -And (-Not ($Installed.IsDevelopmentMode))) {
|
|||
}
|
||||
Clear-Host
|
||||
Write-Host "Installing MagiskOnWSA...."
|
||||
If (Test-CommandExists WsaClient) { Start-Process WsaClient -Wait -Args "/shutdown" }
|
||||
Stop-Process -Name "WsaClient" -ErrorAction SilentlyContinue
|
||||
Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion -Register .\AppxManifest.xml
|
||||
If ($?) {
|
||||
|
|
Loading…
Add table
Reference in a new issue