Skip to content

Instantly share code, notes, and snippets.

@ink-ru
Forked from ruebenramirez/setup-franz-ubuntu.sh
Created November 6, 2017 05:43
Show Gist options
  • Save ink-ru/2baa53196daec756a2b926f2fb6b7091 to your computer and use it in GitHub Desktop.
Save ink-ru/2baa53196daec756a2b926f2fb6b7091 to your computer and use it in GitHub Desktop.
setup franz on ubuntu
#!/bin/bash
sudo rm -fr /opt/franz
sudo rm -fr /usr/share/applications/franz.desktop
# create installation dir
sudo mkdir -p /opt/franz
#install franz
wget -qO- https://github.com/meetfranz/franz-app/releases/download/4.0.4/Franz-linux-x64-4.0.4.tgz | sudo tar xvz -C /opt/franz/
# add app icon
sudo wget "https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png" -O /opt/franz/franz-icon.png
# configure app for desktop use
sudo bash -c "cat <<EOF > /usr/share/applications/franz.desktop
[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=Messaging,Internet
EOF"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment