You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
720 B
25 lines
720 B
#! /bin/bash
|
|
set -e
|
|
|
|
install -d /kaleidoscope/ \
|
|
/kaleidoscope/.arduino/user/hardware/keyboardio \
|
|
/kaleidoscope-persist/temp \
|
|
/kaleidoscope-persist/ccache/cache
|
|
|
|
|
|
echo "Syncing Kaleidoscope..."
|
|
tar xf /kaleidoscope-src/kaleidoscope.tar -C /kaleidoscope/
|
|
|
|
echo "Syncing the bundle..."
|
|
tar xf /kaleidoscope-src/bundle.tar -C /kaleidoscope/.arduino/user/hardware/keyboardio
|
|
|
|
ln -s /kaleidoscope /kaleidoscope/.arduino/user/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
ln -s /kaleidoscope /kaleidoscope/.arduino/user/hardware/keyboardio/virtual/libraries/Kaleidoscope
|
|
|
|
|
|
cd /kaleidoscope/
|
|
export ARDUINO_DIRECTORIES_DATA=/arduino-cli/data
|
|
export KALEIDOSCOPE_CCACHE=1
|
|
|
|
/bin/bash -c "$*"
|