We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e26a4c commit 2868c72Copy full SHA for 2868c72
Scripts/post_build.ps1
@@ -41,7 +41,7 @@ function Delete-Unused ($path, $config) {
41
$included = Get-ChildItem $target -Filter "*.dll"
42
foreach ($i in $included){
43
foreach ($plugin in Get-ChildItem $target\Plugins){
44
- $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 }
45
$deleteList | ForEach-Object{ Write-Host Deleting duplicated $_.Name with version $_.VersionInfo.FileVersion at location $_.Directory.FullName }
46
$deleteList | Remove-Item
47
}
0 commit comments