mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix path issue
This commit is contained in:
parent
8e26a4c077
commit
2868c7256e
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ function Delete-Unused ($path, $config) {
|
|||
$included = Get-ChildItem $target -Filter "*.dll"
|
||||
foreach ($i in $included){
|
||||
foreach ($plugin in Get-ChildItem $target\Plugins){
|
||||
$deleteList = Get-ChildItem $target\Plugins -Filter $i.Name | Where { $_.VersionInfo.FileVersion -eq $i.VersionInfo.FileVersion -And $_.Name -eq $i.Name }
|
||||
$deleteList = Get-ChildItem $plugin -Filter $i.Name | Where { $_.VersionInfo.FileVersion -eq $i.VersionInfo.FileVersion -And $_.Name -eq $i.Name }
|
||||
$deleteList | ForEach-Object{ Write-Host Deleting duplicated $_.Name with version $_.VersionInfo.FileVersion at location $_.Directory.FullName }
|
||||
$deleteList | Remove-Item
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue