Fix incorrect order of commands

This commit is contained in:
Manuel Thalmann 2023-07-03 12:47:54 +02:00
parent 5bb8c52a15
commit 64c3ba7584

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";