mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
Remove more duplicated dll
This commit is contained in:
parent
0a34143388
commit
b16abfba9c
@ -43,12 +43,10 @@ function Copy-Resources ($path, $config) {
|
|||||||
|
|
||||||
function Delete-Unused ($path, $config) {
|
function Delete-Unused ($path, $config) {
|
||||||
$target = "$path\Output\$config"
|
$target = "$path\Output\$config"
|
||||||
$included = @(
|
$included = Get-ChildItem $target -Filter "*.dll"
|
||||||
"Wox.Plugin.pdb", "Wox.Plugin.dll", "Wox.Core.*", "Wox.Infrastructure.*",
|
|
||||||
"ICSharpCode.*", "JetBrains.*", "Pinyin4Net.*", "NLog.*"
|
|
||||||
)
|
|
||||||
foreach ($i in $included){
|
foreach ($i in $included){
|
||||||
Remove-Item -Path $target\Plugins -Include $i -Recurse
|
Remove-Item -Path $target\Plugins -Include $i -Recurse
|
||||||
|
Write-Host "Deleting duplicated $i"
|
||||||
}
|
}
|
||||||
Remove-Item -Path $target -Include "*.xml" -Recurse
|
Remove-Item -Path $target -Include "*.xml" -Recurse
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user