From 7c86d72eceb5a9f70cf1622bac8506f2e0068fdd Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Thu, 28 Nov 2024 16:04:33 +0100 Subject: [PATCH] bugfix: parent of file is directory property --- util/windows.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/windows.psm1 b/util/windows.psm1 index 276763c..b78425b 100644 --- a/util/windows.psm1 +++ b/util/windows.psm1 @@ -178,7 +178,7 @@ function InstallNerdFont $fileName = [System.IO.Path]::GetFileNameWithoutExtension($source) $parent = Get-ChildItem $source | ` - Select-Object -ExpandProperty Parent | ` + Select-Object -ExpandProperty Directory | ` Select-Object -ExpandProperty FullName $destination = "$parent\$fileName"