Răsfoiți Sursa

Fixup the WSL install

skullY 6 ani în urmă
părinte
comite
11c4c71131
2 a modificat fișierele cu 1 adăugiri și 9 ștergeri
  1. 0 3
      util/win_shared_install.sh
  2. 1 6
      util/wsl_install.sh

+ 0 - 3
util/win_shared_install.sh

@@ -18,11 +18,8 @@ function install_utils {
     wget 'https://www.pjrc.com/teensy/teensy_loader_cli_windows.zip'
     unzip teensy_loader_cli_windows.zip
 
-    # This URL has changed and I can't find the new location. Commenting out until we figure out the new URL or determine this isn't needed. -skullY
     echo "Installing Atmel Flip"
     wget 'http://ww1.microchip.com/downloads/en/DeviceDoc/Flip%20Installer%20-%203.4.7.112.exe'
-    # This is the JRE-less installer, if we need the larger bundled with JRE installer, use this: 
-    #wget 'http://ww1.microchip.com/downloads/en/DeviceDoc/JRE%20-%20Flip%20Installer%20-%203.4.7.112.exe'
     mv Flip\ Installer\ \-\ 3.4.7.112.exe FlipInstaller.exe
 
     echo "Downloading the QMK driver installer"

+ 1 - 6
util/wsl_install.sh

@@ -15,20 +15,15 @@ fi
 while true; do
     echo
     echo "Do you want to install all toolchain dependencies needed for compiling QMK?"
-    echo "This will run install_dependencies.sh, which calls apt-get upgrade."
     echo "If you don't want that, you can install the dependencies manually."
     read -p "(Y/N) " res
     case $res in
-        [Yy]* ) sudo ./install_dependencies.sh; break;;
+        [Yy]* ) ./linux_install.sh; break;;
         [Nn]* ) break;;
         * ) echo "Invalid answer";;
     esac
 done
 
-echo "Installing dependencies needed for the installation (unzip, wget)"
-echo "This will ask for the sudo password"
-sudo apt-get install unzip wget
-
 download_dir=wsl_downloaded
 
 source "$dir/win_shared_install.sh"