Skip to content

Commit

Permalink
Examples: ide-debian-sandbox.cfg.lua updated, add arduino_cli profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkCaster committed Jan 8, 2025
1 parent eca96a3 commit 203fb5b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Examples/ide-debian-sandbox.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,31 @@ arduino_2_install={
exclusive=true,
}

arduino_cli_install={
exec="/bin/bash",
path="/home/sandboxer",
args={"-c", "\
arduino_dir=\"$HOME/arduino-cli\"; \
cd $HOME; \
[ -d \"$arduino_dir\" ] && echo \"Removing directory $arduino_dir\" && rm -r \"$arduino_dir\"; \
img=`find \"$HOME/installs\" -name \"arduino-cli_*_Linux*.tar.gz\"|sort -V|tail -n1` && mkdir \"$arduino_dir\" && cd \"$arduino_dir\" && ( gunzip -c \"$img\" | tar xf - ); \
"},
term_signal=defaults.signals.SIGTERM,
attach=true,
pty=false,
exclusive=true,
}

arduino_cli={
exec="/home/sandboxer/arduino-cli/arduino-cli",
path="/home/sandboxer",
args=loader.args,
term_signal=defaults.signals.SIGTERM,
attach=true,
pty=true,
exclusive=false,
}

-- android sdk manager from https://developer.android.com/studio
android_studio_install={
exec="/bin/bash",
Expand Down

0 comments on commit 203fb5b

Please sign in to comment.