-
-
Save bergercookie/dd008649e5c68247efcab4256fc32b8a 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" | |
# Setup extra plugins | |
cd "${HOME}" | |
plugins_local="plugins-legacy" | |
git clone https://github.com/meetfranz/plugins-legacy "${plugins_local}" | |
mkdir -p "${HOME}/.config/Franz/Plugins" | |
plugins_to_install="Evernote googlecalendar googlekeep trello" | |
for p in ${plugins_to_install}; do | |
cp -r "${plugins_local}/${p}" "${HOME}/.config/Franz/Plugins/" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment