From a85996a65f051270cc57e2bf4d8e81a28db2b04f Mon Sep 17 00:00:00 2001 From: Howard Wu <HowardWu20@outlook.com> Date: Thu, 8 Feb 2024 18:26:54 +0800 Subject: [PATCH] Skip Optimize-VHD Now we won't modify the vhdx image anymore --- installer/Install.ps1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/installer/Install.ps1 b/installer/Install.ps1 index 9815c83..f97f6a5 100644 --- a/installer/Install.ps1 +++ b/installer/Install.ps1 @@ -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"