Forums › SM Series Discussions › setup.sh launcher icon
- This topic has 2 replies, 2 voices, and was last updated 10 months ago by Andrew.
jjoonathanParticipantjjoonathan July 31, 2022 at 3:12 pm
Hey, so I keep making Ubuntu launcher icons for spike, reinstalling, forgetting how to do it, figuring it out, and then rediscovering my old notes after figuring it out again. If you could add this to setup.sh maybe you could save me from myself.
You probably want to substitute an icon that isn’t a screenshot, too, but this one is fine in a pinch.
echo “Adding launcher icon..”
sudo install -m 644 $ICON_FILE /usr/share/icons
cat $APP_TEMPLATE | sed s:INSTALL_DIR:$(pwd):g | sudo tee $APP_DEST >/dev/null
sudo update-desktop-database /usr/share/applications
Attachments:You must be logged in to view attached files.
jjoonathan July 31, 2022 at 3:46 pm
- This reply was modified 10 months ago by jjoonathan. Reason: New link with correct permissions
- This reply was modified 10 months ago by jjoonathan. Reason: New download link
The forum software murdered the attachments, here they are on Dropbox:
You must be logged in to reply to this topic.