Bluej v542, Arduino IDE 2 testing
This commit is contained in:
parent
58fd458616
commit
c04e753bb9
7 changed files with 52 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
Name=Arduino IDE2 AppImage
|
||||
Comment=Open-source electronics prototyping platform
|
||||
GenericName=Arduino IDE
|
||||
Exec=/opt/appimages/arduino2/ArduinoIDE2.AppImage %f
|
||||
Exec=unset -v https_proxy http_proxy && . /opt/appimages/arduino2/start-arduino2-appimage %f > /tmp/arduinoAppimage.log 2>&1
|
||||
Icon=arduino
|
||||
Type=Application
|
||||
Terminal=false
|
||||
|
|
16
roles/lmn_qgsoftware/files/start-arduino2-appimage
Executable file
16
roles/lmn_qgsoftware/files/start-arduino2-appimage
Executable file
|
@ -0,0 +1,16 @@
|
|||
echo "---------------------"
|
||||
cachedir=/var/cache/user/${KDE_SESSION_UID}/arduino15
|
||||
echo "Cachedir: $cachedir"
|
||||
echo "---------------------"
|
||||
template=/var/lib/arduino2/template
|
||||
arduinoAppimage=/opt/appimages/arduino2/ArduinoIDE2.AppImage
|
||||
|
||||
mkdir -p $cachedir
|
||||
|
||||
rsync -avr --delete $template/ $cachedir/ > /dev/null 2>&1
|
||||
rm -rf ${HOME}/.arduino15
|
||||
ln -s $cachedir ${HOME}/.arduino15
|
||||
|
||||
$arduinoAppimage $1 &
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue