Fix incorrect order of commands

This commit is contained in:
Manuel Thalmann 2023-07-03 12:47:54 +02:00
parent 6f7a44ed23
commit 33f106679e

View file

@ -1,6 +1,5 @@
$env:WIN_COMPUTER_NAME = "DerGeret";
$env:SETUP_SCRIPT_NAME = [System.IO.Path]::GetRelativePath("$PSScriptRoot/../../..", "$PSScriptRoot/Restore.ps1");
. "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1";
$Global:SetupConfigPostprocessor = {
param([xml] $config, [System.Xml.XmlNamespaceManager] $namespace)
@ -47,3 +46,5 @@ $Global:SetupConfigPostprocessor = {
$partitionModifications.AppendChild($newModification);
}
. "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1";