Force profile selection for Windows installation actions
This commit is contained in:
parent
10ab9152d9
commit
ab4ce633db
|
@ -164,7 +164,7 @@ $null = New-Module {
|
|||
|
||||
$scriptPath = "$PSScriptRoot/../../Common/Scripts/config.fish";
|
||||
|
||||
if ($env:CONFIG_NAME) {
|
||||
if ($env:CONFIG_NAME -or ($Script -eq "getProfiles")) {
|
||||
$output = & {
|
||||
if (-not $IsWindows) {
|
||||
$escapedPath = (fish -c 'string escape $argv' "$scriptPath");
|
||||
|
|
|
@ -259,6 +259,10 @@ $null = New-Module {
|
|||
}
|
||||
};
|
||||
|
||||
if (-not $env:CONFIG_NAME) {
|
||||
Show-ProfileNamePrompt;
|
||||
}
|
||||
|
||||
$initialized = $true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue