Tried on Ubuntu 14.04, when I run the "./install-launcher.sh" command, Linux return something like "permission denied"
I have so far focused on getting the Linux installation process working in the 'user' context, so was trying to avoid any sudo commands for the time being.
(I will work on a system install script / instructions once the user one is working OK)
Did the script fail straight away? It may just need the 'execute' permission setting.
In the file browser gui, right click the script, select properties, then permissions.
'Allow executing file as program' should be ticked.
..or from the command line
cd ~/CamBam1.0
chmod +x install-launcher.sh
It may also be helpful to run the script from the command line to see if there are any error messages displayed.
cd ~/CamBam1.0
./install-launcher.sh
The full script is currently...
#!/bin/bash
dest=/home/"$USER"/.local/share/applications/cambam.desktop
echo "#!/usr/bin/env xdg-open" > "$dest"
echo "[Desktop Entry]" >> "$dest"
echo "Type=Application" >> "$dest"
echo "Version=1.0" >> "$dest"
echo "Name=CamBam 1.0" >> "$dest"
echo "Exec=$PWD/cambam.sh %f" >> "$dest"
echo "Path=$PWD" >> "$dest"
echo "Terminal=false" >> "$dest"
echo "Icon=$PWD/CamBam.svg" >> "$dest"
echo "MimeType=application/x-cambam" >> "$dest"
echo "Categories=Graphics;3DGraphics;Engineering;" >> "$dest"
xdg-mime install cambam-mime.xml
xdg-mime default cambam.desktop application/x-cambam
xdg-icon-resource install --context mimetypes --size 64 CamBam.png application-x-cambam
The last three lines were added in yesterdays 'sneaky' update.
If the launcher icon is created, but it then fails on setting up the mime types, try running each of those last few lines one at a time to see where it is failing.
Thank you for the testing! I tried this script on a few Linux distros and it seemed to work OK... even on the raspi.