diff --git a/build/linux/dist/install.sh b/build/linux/dist/install.sh new file mode 100644 index 000000000..d34c8aac8 --- /dev/null +++ b/build/linux/dist/install.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +CURDIR=`pwd` +APPDIR="$(dirname -- "$(readlink -f -- "${0}")" )" + +cd "$APPDIR" + +# Set arduino.desktop absolute path workaround +mv arduino.desktop arduino.desktop-bak +sed -e "s,FULL_PATH,$PWD,g" arduino.desktop-bak > arduino.desktop +rm arduino.desktop-bak + +cp arduino.desktop ~/.local/share/applications/arduino.desktop +cp arduino.desktop ~/Desktop/arduino.desktop + +echo "Instaled Arduino IDE icons on menu and desktop !" +