2017-07-10 16:31:58 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-07-15 21:14:27 +02:00
|
|
|
util_dir=$(dirname "$0")
|
2017-07-10 17:16:35 +02:00
|
|
|
|
2020-08-25 11:04:42 +02:00
|
|
|
echo "Installing dependencies needed for the installation"
|
2020-09-30 20:10:02 +02:00
|
|
|
pacman --needed --noconfirm --disable-download-timeout -Sy \
|
|
|
|
base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang git unzip \
|
|
|
|
mingw-w64-x86_64-python-pip \
|
|
|
|
mingw-w64-x86_64-avr-binutils mingw-w64-x86_64-avr-gcc mingw-w64-x86_64-avr-libc \
|
|
|
|
mingw-w64-x86_64-arm-none-eabi-binutils mingw-w64-x86_64-arm-none-eabi-gcc mingw-w64-x86_64-arm-none-eabi-newlib \
|
|
|
|
mingw-w64-x86_64-avrdude mingw-w64-x86_64-bootloadhid mingw-w64-x86_64-dfu-programmer mingw-w64-x86_64-dfu-util mingw-w64-x86_64-teensy-loader-cli
|
2017-07-11 15:44:46 +02:00
|
|
|
|
2020-10-17 17:45:21 +02:00
|
|
|
echo "Installing drivers"
|
|
|
|
tmpdir=$(mktemp -d)
|
|
|
|
cp "${util_dir}/drivers.txt" $tmpdir
|
|
|
|
pushd $tmpdir > /dev/null
|
|
|
|
wget "https://github.com/qmk/qmk_driver_installer/releases/download/v1.01/qmk_driver_installer.exe"
|
|
|
|
cmd.exe //c "qmk_driver_installer.exe --all --force drivers.txt"
|
|
|
|
popd > /dev/null
|
|
|
|
rm -r $tmpdir
|
2017-07-10 17:05:32 +02:00
|
|
|
|
2020-03-15 18:15:42 +01:00
|
|
|
pip3 install -r "${util_dir}/../requirements.txt"
|