mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-25 10:51:46 +00:00
bugfix: GCI -Include only works with -Recurse or wildcard
This commit is contained in:
parent
06977c0db5
commit
8990d50297
@ -149,7 +149,7 @@ function InstallNerdFont
|
||||
Expand-Archive $source -DestinationPath $destination -Force | Out-Null
|
||||
|
||||
# Install extracted fonts
|
||||
$fontFiles = Get-ChildItem -Path $destination -Include "*.ttf", "*.otf"
|
||||
$fontFiles = Get-ChildItem -Path $destination -Recurse -Include "*.ttf", "*.otf"
|
||||
|
||||
foreach ($font in $fontFiles)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user