Added hash check to setupTmp

Fixed issue with custom apps in choco
This commit is contained in:
2023-11-15 10:44:33 +01:00
parent a0bfedb6ad
commit 3499388a7f
8 changed files with 65 additions and 31 deletions

View File

@@ -148,6 +148,8 @@ function Show-InstallationMenu {
Write-Host "1. Labo"
Write-Host "2. Info"
Write-Host "3. Laptop"
Write-Host "4. Custom"
Write-Host "q. Exit"
$selection = Read-Host "Enter the number of your choice"
@@ -156,7 +158,11 @@ function Show-InstallationMenu {
"2" { Setup -Type "Info" }
"3" { Setup -Type "Laptop" }
"4" { Custom }
default { Write-Host "Invalid selection. Please choose 1, 2, or 3." }
"q" {
Write-Host "Exiting..."
exit
}
default { Write-Host "Invalid selection." }
}
} while ($selection -ne "1" -and $selection -ne "2" -and $selection -ne "3")
}