Silence unnecessary output

This commit is contained in:
Manuel Thalmann 2023-07-09 00:19:58 +02:00
parent ae0b943dac
commit 79b11d3907

View file

@ -45,7 +45,7 @@ $Global:SetupConfigPostprocessor = {
# Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw.
$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.RemoveChild($winPartition.SelectSingleNode("./ua:Extend", $namespace));
$null = $winPartition.AppendChild($size);
$newPartition.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";