-
-
Save ink-ru/2baa53196daec756a2b926f2fb6b7091 to your computer and use it in GitHub Desktop.
setup franz on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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