diff options
| -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 7ad000bfc..1265cb027 100755 --- a/util/win_shared_install.sh +++ b/util/win_shared_install.sh | |||
| @@ -37,7 +37,7 @@ function install_utils { | |||
| 37 | function install_drivers { | 37 | function install_drivers { |
| 38 | pushd "$download_dir" | 38 | pushd "$download_dir" |
| 39 | cp -f "$dir/drivers.txt" . | 39 | cp -f "$dir/drivers.txt" . |
| 40 | echo | 40 | echo |
| 41 | cmd.exe //c "qmk_driver_installer.exe $1 $2 drivers.txt" | 41 | cmd.exe //c "qmk_driver_installer.exe $1 $2 drivers.txt" |
| 42 | popd > /dev/null | 42 | popd > /dev/null |
| 43 | } | 43 | } |
| @@ -62,19 +62,19 @@ fi | |||
| 62 | while true; do | 62 | while true; do |
| 63 | echo | 63 | echo |
| 64 | echo "Which USB drivers do you want to install?" | 64 | echo "Which USB drivers do you want to install?" |
| 65 | echo "(A)all - All supported drivers will be installed" | 65 | echo "(A)ll - All supported drivers will be installed" |
| 66 | echo "(C)onnected - Only drivers for connected keyboards (in bootloader/flashing mode)" | 66 | echo "(C)onnected - Only drivers for connected keyboards (in bootloader/flashing mode)" |
| 67 | echo " will be installed" | 67 | echo " will be installed" |
| 68 | echo "(F)force - Like all, but will also override existing drivers for connected" | 68 | echo "(F)orce - Like all, but will also override existing drivers for connected" |
| 69 | echo " keyboards" | 69 | echo " keyboards" |
| 70 | echo "(N)one - No drivers will be installed," | 70 | echo "(N)one - No drivers will be installed," |
| 71 | echo " flashing your keyboard will most likely not work" | 71 | echo " flashing your keyboard will most likely not work" |
| 72 | read -p "(A/C/F/N)? " res | 72 | read -p "(a/c/f/N)? " res |
| 73 | case $res in | 73 | case $res in |
| 74 | [Aa]* ) install_drivers --all; break;; | 74 | [AaYy]* ) install_drivers --all; break;; |
| 75 | [Cc]* ) install_drivers; break;; | 75 | [Cc]* ) install_drivers; break;; |
| 76 | [Ff]* ) install_drivers --all --force; break;; | 76 | [Ff]* ) install_drivers --all --force; break;; |
| 77 | [Nn]* ) break;; | 77 | [Nn]* | "" ) break;; |
| 78 | * ) echo "Invalid answer";; | 78 | * ) echo "Invalid answer";; |
| 79 | esac | 79 | esac |
| 80 | done | 80 | done |
