Last active
August 23, 2017 07:05
-
-
Save DevWurm/e2219aa007e9c9eeef12 to your computer and use it in GitHub Desktop.
Turtle installer - Installer for the turtl.it linux 64bit application
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/sh | |
if [ "$1" = "local" ]; | |
then | |
cp -r ./turtl-linux64 ~/ | |
mv ~/turtl-linux64 ~/.turtl-linux64 | |
mkdir -p ~/.local/share/icons/hicolor/128x128/apps/ | |
cp ./.resources/icon.png ~/.local/share/icons/hicolor/128x128/apps/ | |
mv ~/.local/share/icons/hicolor/128x128/apps/icon.png ~/.local/share/icons/hicolor/128x128/apps/turtl.png | |
cp ./.resources/local-turtl.desktop ~/.local/share/applications | |
mv ~/.local/share/applications/local-turtl.desktop ~/.local/share/applications/turtl.desktop | |
elif [ "$1" = "uninstall" ]; | |
then | |
rm -r -f /opt/turtl-linux64 | |
rm -f /usr/share/applications/turtl.desktop | |
rm -r -f ~/.turtl-linux64 | |
rm -f ~/.local/share/applications/turtl.desktop | |
rm -f ~/.local/share/icons/hicolor/128x128/apps/turtl.png | |
else | |
cp -r ./turtl-linux64 /opt | |
cp ./.resources/icon.png /opt/turtl-linux64 | |
cp ./.resources/turtl.desktop /usr/share/applications | |
fi |
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
[Desktop Entry] | |
Type=Application | |
Name=Turtl | |
Exec=.turtl-linux64/turtl | |
Icon=turtl | |
Comment=A totally private personal database and note taking app | |
Categories=Office;Utility; | |
Keywords=Notes;Turtl; | |
Terminal=false | |
GenericName=Note Board |
View raw
(Sorry about that, but we can’t show files that are this big right now.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist provides an installer for the Turtl application for Linux 64bit. The additional files as well as the standalone installation archive are provided. Download the turtl-linux-64.tar.gz file, unpack it and run the install.sh in one of the following ways:
After logging off and on again, you will find the application in the programs overview of your OS.