1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/bash function export_variables { local util_dir=~/qmk_utils local 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=batchisp.exe } export_variables