--- /dev/null
+#!/bin/bash
+
+util_dir=~/qmk_utils
+download_dir=$util_dir/wsl_downloaded
+
+export DFU_PROGRAMMER=$download_dir/dfu-programmer/dfu-programmer.exe
+export DFU_UTIL=$download_dir/dfu-util-0.9-win64/dfu-util.exe
+export TEENSY_LOADER_CLI=$download_dir/teensy_loader_cli.exe
+export BATCHISP=$download_dir/Flip/bin/batchisp.exe
+
+
+
function install_drivers {
pushd $download_dir
- cp ../drivers.txt .
cmd.exe /C qmk_driver_installer.exe $1 $2 ../drivers.txt
popd > /dev/null
}
esac
done
+echo
+echo "Creating a softlink to the utils directory as ~/qmk_utils."
+echo "This is needed so that the the make system can find all utils it need."
+read -p "Press any key to continue (ctrl-c to abort)"
+ln -sf "$dir" ~/qmk_utils
+
popd > /dev/null