mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
ignore System.Text.Encodings.Web.dll
This commit is contained in:
parent
01b4b27d82
commit
cb839a1568
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ function Delete-Unused ($path, $config) {
|
|||
$target = "$path\Output\$config"
|
||||
$included = Get-ChildItem $target -Filter "*.dll"
|
||||
foreach ($i in $included){
|
||||
if ($i.Name in ["System.Text.Encodings.Web.dll"]) {
|
||||
# ignore some specific dll that seems to make issue
|
||||
continue
|
||||
}
|
||||
$deleteList = Get-ChildItem $target\Plugins -Filter $i.Name -Recurse | 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