Added hash check to setupTmp
Fixed issue with custom apps in choco
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user