X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=nerdfont%2Finstall.ps1;h=35ecc2c169e2ffdcc3928a96960a417bfa163c64;hb=912c9c8f06590f06a2a9df1c03d8ead43e96ec70;hp=882de4514eacd1331f20091a4529c43639f34dd9;hpb=d206a35a195d319aa198b9a2c62ea8784696a039;p=webi-installers%2F.git diff --git a/nerdfont/install.ps1 b/nerdfont/install.ps1 index 882de45..35ecc2c 100644 --- a/nerdfont/install.ps1 +++ b/nerdfont/install.ps1 @@ -3,7 +3,7 @@ $my_nerdfont_otf = "Droid Sans Mono for Powerline Nerd Font Complete Windows Compatible.otf" $my_fontdir = "$Env:UserProfile\AppData\Local\Microsoft\Windows\Fonts" -New-Item -Path "$my_fontdir" -ItemType Directory -ErrorAction Ignore +New-Item -Path "$my_fontdir" -ItemType Directory -Force IF (!(Test-Path -Path "$my_fontdir\$my_nerdfont_otf")) {