diff options
author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2020-02-18 21:05:20 +0100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-06-12 17:00:27 +0900 |
commit | ae8641748e4b2adb5b4f091027975e3884e325c9 (patch) | |
tree | a74f16d5642a1548043c9c87f0f24d293e10c2c3 /util | |
parent | 74bcafa2ded0f701abf5e34d38e456eac9a70f21 (diff) |
Made windows driver installation accept y as All to allow CI (#8189)
* Made windows driver installation accept y as all to allow CI
* Fix some formatting
* Made None default
Diffstat (limited to 'util')
-rwxr-xr-x | util/win_shared_install.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/win_shared_install.sh b/util/win_shared_install.sh index 7ad000bfc4..1265cb027f 100755 --- a/util/win_shared_install.sh +++ b/util/win_shared_install.sh @@ -37,7 +37,7 @@ function install_utils { function install_drivers { pushd "$download_dir" cp -f "$dir/drivers.txt" . - echo + echo cmd.exe //c "qmk_driver_installer.exe $1 $2 drivers.txt" popd > /dev/null } @@ -62,19 +62,19 @@ fi while true; do echo echo "Which USB drivers do you want to install?" - echo "(A)all - All supported drivers will be installed" + echo "(A)ll - All supported drivers will be installed" echo "(C)onnected - Only drivers for connected keyboards (in bootloader/flashing mode)" echo " will be installed" - echo "(F)force - Like all, but will also override existing drivers for connected" + echo "(F)orce - Like all, but will also override existing drivers for connected" echo " keyboards" echo "(N)one - No drivers will be installed," echo " flashing your keyboard will most likely not work" - read -p "(A/C/F/N)? " res + read -p "(a/c/f/N)? " res case $res in - [Aa]* ) install_drivers --all; break;; + [AaYy]* ) install_drivers --all; break;; [Cc]* ) install_drivers; break;; [Ff]* ) install_drivers --all --force; break;; - [Nn]* ) break;; + [Nn]* | "" ) break;; * ) echo "Invalid answer";; esac done |