Skip to content

Commit aa76aec

Browse files
Update setup.ps1
1 parent 3d7b7ad commit aa76aec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,16 @@ if ($SetMouseSpeed -eq 0) {
7272
# install firefox
7373
$InstallFirefox = $Host.UI.PromptForChoice("Install Firefox?", "(Default Y)", @("&Y", "&N"), 0)
7474
if ($InstallFirefox -eq 0) {
75+
Write-Host "You can say 'no' when it prompts to let the application make changes, and it will still install."
7576
try{winget install Mozilla.Firefox} catch{
77+
Write-Host "Winget is not installed. Installing winget"
7678
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
7779
winget install Mozilla.Firefox
7880
}
7981
Write-Host "FireFox installed"
8082
}
8183
# switch keyboard ( taken from https://gist.github.com/DieBauer/997dc90701a137fce8be )
82-
$SwitchKeyboard = $Host.UI.PromptForChoice("Switch to the dvorak keyboard layout?", "(Default N)", @("&Y", "&N"), 1)
84+
$SwitchKeyboard = $Host.UI.PromptForChoice("Switch to the layout? (you will be prompted again before changes apply)", "(Default N)", @("&Y", "&N"), 1)
8385
if ($SwitchKeyboard -eq 0) {
8486
$KeyboardLayout = $Host.UI.PromptForChoice("Select the layout you want", "(Default cancel)", @("&cancel", "&qwerty_en_US", "&dvorak_en_US"), 0)
8587
$l = Get-WinUserLanguageList

0 commit comments

Comments
 (0)