diff options
Diffstat (limited to 'util')
| -rw-r--r-- | util/win_shared_install.sh | 16 | ||||
| -rw-r--r-- | util/wsl_install.sh | 13 |
2 files changed, 18 insertions, 11 deletions
diff --git a/util/win_shared_install.sh b/util/win_shared_install.sh index e02511cf3..cfae57845 100644 --- a/util/win_shared_install.sh +++ b/util/win_shared_install.sh | |||
| @@ -45,7 +45,8 @@ if [ ! -d "$download_dir" ]; then | |||
| 45 | else | 45 | else |
| 46 | while true; do | 46 | while true; do |
| 47 | echo | 47 | echo |
| 48 | read -p "The utils seem to already be downloaded, do you want to re-download them and update to the newest version (Y/N) " res | 48 | echo "The utils seem to already be downloaded." |
| 49 | read -p "Do you want to re-download them and update to the newest version (Y/N) " res | ||
| 49 | case $res in | 50 | case $res in |
| 50 | [Yy]* ) install_utils; break;; | 51 | [Yy]* ) install_utils; break;; |
| 51 | [Nn]* ) break;; | 52 | [Nn]* ) break;; |
| @@ -57,7 +58,9 @@ fi | |||
| 57 | pushd "$download_dir" | 58 | pushd "$download_dir" |
| 58 | while true; do | 59 | while true; do |
| 59 | echo | 60 | echo |
| 60 | read -p "Flip need to be installed if you want to use that for programming, do you want to install it now? (Y/N) " res | 61 | echo "Flip need to be installed if you want to use that for programming." |
| 62 | echo "Please install it to the default location!" | ||
| 63 | read -p "Do you want to install it now? (Y/N) " res | ||
| 61 | case $res in | 64 | case $res in |
| 62 | [Yy]* ) cmd.exe /c FlipInstaller.exe; break;; | 65 | [Yy]* ) cmd.exe /c FlipInstaller.exe; break;; |
| 63 | [Nn]* ) break;; | 66 | [Nn]* ) break;; |
| @@ -71,9 +74,12 @@ while true; do | |||
| 71 | echo | 74 | echo |
| 72 | echo "Which USB drivers do you want to install?" | 75 | echo "Which USB drivers do you want to install?" |
| 73 | echo "(A)all - All supported drivers will be installed" | 76 | echo "(A)all - All supported drivers will be installed" |
| 74 | echo "(C)onnected - Only drivers for connected keyboards (in bootloader/flashing mode) will be installed" | 77 | echo "(C)onnected - Only drivers for connected keyboards (in bootloader/flashing mode)" |
| 75 | echo "(F)force - Like all, but will also override existing drivers for connected keyboards" | 78 | echo " will be installed" |
| 76 | echo "(N)one - No drivers will be installed, flashing your keyboard will most likely not work" | 79 | echo "(F)force - Like all, but will also override existing drivers for connected" |
| 80 | echo " keyboards" | ||
| 81 | echo "(N)one - No drivers will be installed," | ||
| 82 | echo " flashing your keyboard will most likely not work" | ||
| 77 | read -p "(A/C/F/N)? " res | 83 | read -p "(A/C/F/N)? " res |
| 78 | case $res in | 84 | case $res in |
| 79 | [Aa]* ) install_drivers --all; break;; | 85 | [Aa]* ) install_drivers --all; break;; |
diff --git a/util/wsl_install.sh b/util/wsl_install.sh index b593c6e77..89552b991 100644 --- a/util/wsl_install.sh +++ b/util/wsl_install.sh | |||
| @@ -47,9 +47,9 @@ then | |||
| 47 | else | 47 | else |
| 48 | while true; do | 48 | while true; do |
| 49 | echo | 49 | echo |
| 50 | echo "Do you want to add 'source ~/qmk_utils/activate_wsl.sh' to the end of you .bashrc file?" | 50 | echo "Do you want to add 'source ~/qmk_utils/activate_wsl.sh' to the end of your" |
| 51 | echo "Without this make won't find the needed utils, so if you don't want to do it automatically," | 51 | echo ".bashrc file? Without this make won't find the needed utils, so if you don't" |
| 52 | echo "then you have to do it manually." | 52 | echo "want to do it automatically, then you have to do it manually later." |
| 53 | read -p "(Y/N)? " res | 53 | read -p "(Y/N)? " res |
| 54 | case $res in | 54 | case $res in |
| 55 | [Yy]* ) echo "source ~/qmk_utils/activate_wsl.sh" >> ~/.bashrc; break;; | 55 | [Yy]* ) echo "source ~/qmk_utils/activate_wsl.sh" >> ~/.bashrc; break;; |
| @@ -61,9 +61,10 @@ fi | |||
| 61 | 61 | ||
| 62 | while true; do | 62 | while true; do |
| 63 | echo | 63 | echo |
| 64 | echo "Do you want to add a symlink to the QMK repository in your home directory for convenience?" | 64 | echo "Do you want to add a symlink to the QMK repository in your home directory for" |
| 65 | echo "This will create a folder 'qmk_firmware' in your home directory." | 65 | echo "convenience? This will create a folder 'qmk_firmware' in your home directory." |
| 66 | echo "In the future you can use this folder instead of the full path on your windows file system" | 66 | echo "In the future you can use this folder instead of the full path on your Windows" |
| 67 | echo "file system." | ||
| 67 | read -p "(Y/N)? " res | 68 | read -p "(Y/N)? " res |
| 68 | case $res in | 69 | case $res in |
| 69 | [Yy]* ) ln -sfn "$dir/.." ~/qmk_firmware; break;; | 70 | [Yy]* ) ln -sfn "$dir/.." ~/qmk_firmware; break;; |
