Skip to content

Commit 2868c72

Browse files
committed
fix path issue
1 parent 8e26a4c commit 2868c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/post_build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Delete-Unused ($path, $config) {
4141
$included = Get-ChildItem $target -Filter "*.dll"
4242
foreach ($i in $included){
4343
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 }
44+
$deleteList = Get-ChildItem $plugin -Filter $i.Name | Where { $_.VersionInfo.FileVersion -eq $i.VersionInfo.FileVersion -And $_.Name -eq $i.Name }
4545
$deleteList | ForEach-Object{ Write-Host Deleting duplicated $_.Name with version $_.VersionInfo.FileVersion at location $_.Directory.FullName }
4646
$deleteList | Remove-Item
4747
}

0 commit comments

Comments
 (0)