Rename old windows installation script
This commit is contained in:
parent
ce0a00ee26
commit
ef773d993c
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue