mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use full path while deleting
This commit is contained in:
parent
6c3bcdc0b3
commit
c058c649c2
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ function Delete-Unused($path, $config)
|
|||
foreach ($i in $deleteList)
|
||||
{
|
||||
write "Deleting duplicated $($i.Name) with version $($i.VersionInfo.FileVersion) at location $($i.Directory.FullName)"
|
||||
Remove-Item $i
|
||||
Remove-Item -Path $i.FullName
|
||||
}
|
||||
Remove-Item -Path $target -Include "*.xml" -Recurse
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue