From f581dda11d54a94a5a1bcd1cc35f7d00eb4029d3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 9 Jul 2023 00:10:08 +0200 Subject: [PATCH] Add missing function parameter --- profiles/DerGeret/Windows/Setup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1 index 681dcbba..8d54cf5c 100644 --- a/profiles/DerGeret/Windows/Setup.ps1 +++ b/profiles/DerGeret/Windows/Setup.ps1 @@ -43,7 +43,7 @@ $Global:SetupConfigPostprocessor = { } # Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw. - $size = ($partitionCreationContainer.SelectNodes("./ua:CreatePartition/ua:Size") | Select-Object -First 1).CloneNode($true); + $size = ($partitionCreationContainer.SelectNodes("./ua:CreatePartition/ua:Size", $namespace) | Select-Object -First 1).CloneNode($true); $size.InnerText = "$((1 * 1024 * 1024) - $garbage)"; $winPartition.RemoveChild($winPartition.SelectSingleNode("./ua:Extend", $namespace)); $null = $winPartition.AppendChild($size);