Ensure prerequisites are installed at the very beginning

This commit is contained in:
Manuel Thalmann 2024-03-23 17:53:43 +01:00
parent 19900bac81
commit 67fc0770f3

View file

@ -1,4 +1,6 @@
#!/bin/pwsh
. "$PSScriptRoot/../Scripts/Prerequisites.ps1";
. "$PSScriptRoot/Manage.ps1";
. "$PSScriptRoot/Upgrade.ps1";
. "$PSScriptRoot/User/Install.ps1";
@ -9,7 +11,6 @@ function Invoke-WindowsInstallation([Context] $context)
{
$Global:InformationPreference = "Continue";
$Global:ErrorActionPreference = "Inquire";
. "$PSScriptRoot/../Scripts/Prerequisites.ps1";
$context.UserNames ??= @("Manuel");
Start-WindowsInstallation $context;
}