Rename old windows installation script

This commit is contained in:
Manuel Thalmann 2024-07-30 18:47:01 +02:00
parent ce0a00ee26
commit ef773d993c

View file

@ -12,10 +12,10 @@ function Invoke-WindowsInstallation([Context] $context)
$Global:InformationPreference = "Continue"; $Global:InformationPreference = "Continue";
$Global:ErrorActionPreference = "Inquire"; $Global:ErrorActionPreference = "Inquire";
$context.UserNames ??= @("Manuel"); $context.UserNames ??= @("Manuel");
Start-WindowsInstallation $context; Start-OldWindowsInstallationScript $context;
} }
function Start-WindowsInstallation([Context] $context) { function Start-OldWindowsInstallationScript([Context] $context) {
$finished = $false; $finished = $false;
Remove-Item Env:\POSH_THEME -ErrorAction SilentlyContinue; Remove-Item Env:\POSH_THEME -ErrorAction SilentlyContinue;
$configPath = "$PSScriptRoot/../Config"; $configPath = "$PSScriptRoot/../Config";