forked from forks/qmk_firmware
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
This commit is contained in:
parent
8225b172b9
commit
1566f0a997
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue