Added an "installer" for Linux that creates desktop and application

entries for SavvyCAN, increased the size of the main window a bit.
This commit is contained in:
Collin Kidder
2015-07-19 11:12:56 -04:00
parent f07928425d
commit 90b0c6ae06
3 changed files with 29 additions and 1 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
CURDIR=`pwd`
APPDIR="$(dirname -- "$(readlink -f -- "${0}")" )"
cd "$APPDIR"
# Set absolute path work around
sed -e "s,FULLPATH,$PWD,g" SavvyCAN.desktop > SavvyCAN.desktop.temp
cp SavvyCAN.desktop.temp ~/.local/share/applications/SavvyCAN.desktop
cp SavvyCAN.desktop.temp ~/Desktop/SavvyCAN.desktop
rm SavvyCAN.desktop.temp
echo "Installed SavvyCAN icons on menu and desktop !"