From 98e97e5be222a331add6c820bfbf630fc9c1187b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 8 Sep 2024 17:48:02 +0200 Subject: [PATCH] Show profile selection during setup --- scripts/Windows/OS/Setup.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Windows/OS/Setup.ps1 b/scripts/Windows/OS/Setup.ps1 index 8c2caf83..69b653c9 100644 --- a/scripts/Windows/OS/Setup.ps1 +++ b/scripts/Windows/OS/Setup.ps1 @@ -3,6 +3,7 @@ function Start-Setup { param($ConfigurationName) + . "$PSScriptRoot/../../Common/Scripts/Config.ps1"; . "$PSScriptRoot/../../Common/Scripts/Scripting.ps1"; $Global:InformationPreference = "Continue"; $Global:ErrorActionPreference = "Inquire"; @@ -11,6 +12,7 @@ function Start-Setup { $null = $env:SETUP_SCRIPT_NAME ??= "$PSScriptRoot/Install.ps1"; $env:WSLENV = "CONFIG_NAME"; + Show-ProfileNamePrompt; $valhallaConfig = ConvertFrom-Json (Get-Content "$PSScriptRoot/../../../.config/$env:CONFIG_NAME.json"); [xml]$unattendedConfig = [xml]::new(); $unattendedConfig.PreserveWhitespace = $true;