Skip Optimize-VHD

Now we won't modify the vhdx image anymore
This commit is contained in:
Howard Wu 2024-02-08 18:26:54 +08:00
parent 061a0c5984
commit a85996a65f

View file

@ -48,11 +48,6 @@ Function Test-CommandExist {
} #end function Test-CommandExist
Function Finish {
Clear-Host
If (Test-CommandExist Optimize-VHD) {
Write-Output "Optimizing VHDX size...."
Optimize-VHD ".\*.vhdx" -Mode Full
}
Clear-Host
Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"