Skip to content

Instantly share code, notes, and snippets.

@landsman
Created August 21, 2016 23:29
Show Gist options
  • Save landsman/10805cacd3ffe6b46c1d50aac03333f9 to your computer and use it in GitHub Desktop.
Save landsman/10805cacd3ffe6b46c1d50aac03333f9 to your computer and use it in GitHub Desktop.
avocode install bash script
#!/bin/sh
BASEDIR=$(pwd)
FILE="~/.local/share/applications/avocode.desktop"
/bin/cat <<EOM >$FILE
[Desktop Entry]
Name=Avocode
Comment=The bridge between designers and developers
GenericName=Design Inspector
Exec=$BASEDIR/Avocode
Icon=$BASEDIR/avocode.png
Type=Application
Categories=GNOME;GTK;Utility;Development;
MimeType=text/plain;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment