From b16abfba9c7660f8ccaae337cc8b94413b6b9fb3 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Thu, 30 Mar 2017 18:52:49 +0100 Subject: [PATCH] Remove more duplicated dll --- Scripts/post_build.ps1 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 24ee200930..eb302a6c62 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -43,12 +43,10 @@ function Copy-Resources ($path, $config) { function Delete-Unused ($path, $config) { $target = "$path\Output\$config" - $included = @( - "Wox.Plugin.pdb", "Wox.Plugin.dll", "Wox.Core.*", "Wox.Infrastructure.*", - "ICSharpCode.*", "JetBrains.*", "Pinyin4Net.*", "NLog.*" - ) + $included = Get-ChildItem $target -Filter "*.dll" foreach ($i in $included){ Remove-Item -Path $target\Plugins -Include $i -Recurse + Write-Host "Deleting duplicated $i" } Remove-Item -Path $target -Include "*.xml" -Recurse }