2017-07-10 20:31:58 +06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-07-16 01:14:27 +06:00
|
|
|
util_dir=$(dirname "$0")
|
2017-07-10 21:16:35 +06:00
|
|
|
|
2020-08-25 15:04:42 +06:00
|
|
|
echo "Installing dependencies needed for the installation"
|
2020-10-01 00:10:02 +06: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 19:44:46 +06:00
|
|
|
|
2020-10-17 21:45:21 +06: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 21:05:32 +06:00
|
|
|
|
2020-03-15 23:15:42 +06:00
|
|
|
pip3 install -r "${util_dir}/../requirements.txt"
|