From dacb081f0f28d45abb963c98d74255308caecdd4 Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Sun, 17 Nov 2024 22:44:46 -0500 Subject: [PATCH] Fix Some Package Folders Not Getting Removed --- RemoveAi.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RemoveAi.ps1 b/RemoveAi.ps1 index ee11868..d33321a 100644 --- a/RemoveAi.ps1 +++ b/RemoveAi.ps1 @@ -122,10 +122,12 @@ foreach ($Path in $packagesPath) { if ($path -like '*Photon*') { $command = "`$dlls = (Get-ChildItem -Path $Path -Filter *.dll).FullName; foreach(`$dll in `$dlls){Remove-item ""`$dll"" -force}" Run-Trusted -command $command + Start-Sleep 1 } else { $command = "Remove-item ""$Path"" -force -recurse" Run-Trusted -command $command + Start-Sleep 1 } }