Skip to content

Commit 497f130

Browse files
committed
feat(installer): make config flow optional
1 parent 853b630 commit 497f130

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Installer.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,12 @@ Install-DownloadedProject -Project $project `
775775

776776
# Configure the installation if not running in non-interactive mode
777777
if (-not $NonInteractive) {
778-
$configPath = Set-ProjectConfiguration -Project $project -InstallParentPath $InstallParentPath
778+
if (-not (YesNoPrompt -Title "$Project Configuration" -Description 'Would you like to configure the installation now?')) {
779+
Write-Host "`nYou can configure VeeamNotify later by editing the config file located at:`n$InstallParentPath\$project\config\conf.json"
780+
}
781+
else {
782+
Set-ProjectConfiguration -Project $project -InstallParentPath $InstallParentPath | Out-Null
783+
}
779784
}
780785
else {
781786
$configPath = Join-Path -Path $InstallParentPath -ChildPath $project | Join-Path -ChildPath 'config\conf.json'

0 commit comments

Comments
 (0)