]> git.donarmstrong.com Git - kiibohd-controller.git/commit
Check for needed programs
authorRowan Decker <Smasher816@gmail.com>
Fri, 13 Feb 2015 03:42:01 +0000 (19:42 -0800)
committerRowan Decker <Smasher816@gmail.com>
Fri, 13 Feb 2015 03:42:01 +0000 (19:42 -0800)
commit8d4adb41ec51beda664be4cf0009278b66d64699
treea0e65076560ff75fc303f460c6eda0e6b2926383
parent88ace02e517950f3ec3eb71d9d0b7b51939d46f7
Check for needed programs

Check for dfu-util and screen before using them. Also aborts if
teensy_loader_cli compilation fails.

Uses the type builtin to determine if a command exists. See here:
https://gist.github.com/sdelmas/7377271
LoadFile/load.dfu
LoadFile/load.teensy
LoadFile/winload.teensy