1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Update README.md

This commit is contained in:
Andros Fenollosa 2018-09-09 20:58:30 +02:00 committed by GitHub
parent 1fbc1073ca
commit 727bdaeea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,15 +26,16 @@ Linux | <a href='https://github.com/laurent22/joplin/releases/download/
The [portable application](https://en.wikipedia.org/wiki/Portable_application) allows installing the software on a portable device such as a USB key. Simply copy the file JoplinPortable.exe in any directory on that USB key ; the application will then create a directory called "JoplinProfile" next to the executable file.
### Ubuntu/Debian (Gnome Shell)
### Install and Update Ubuntu/Debian (Gnome Shell)
``` sh
version=$(curl --silent "https://api.github.com/repos/laurent22/joplin/releases/latest" | grep -Po '"tag_name": "v\K.*?(?=")')
rm -r ~/.joplin/ ~/.local/share/applications/joplin.desktop
mkdir -p ~/.joplin/
wget -O ~/.joplin/Joplin-1.0.106-x86_64.AppImage https://github.com/laurent22/joplin/releases/download/v1.0.106/Joplin-1.0.106-x86_64.AppImage
chmod +x ~/.joplin/Joplin-1.0.106-x86_64.AppImage
wget -O ~/.joplin/Joplin-$version-x86_64.AppImage https://github.com/laurent22/joplin/releases/download/v$version/Joplin-$version-x86_64.AppImage
chmod +x ~/.joplin/Joplin-$version-x86_64.AppImage
wget -O ~/.joplin/Icon512.png https://joplin.cozic.net/images/Icon512.png
echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Joplin\nExec=/home/$USER/.joplin/Joplin-1.0.106-x86_64.AppImage\nIcon=/home/$USER/.joplin/Icon512.png\nType=Application\nCategories=Application;" >> ~/.local/share/applications/joplin.desktop
echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Joplin\nExec=/home/$USER/.joplin/Joplin-$version-x86_64.AppImage\nIcon=/home/$USER/.joplin/Icon512.png\nType=Application\nCategories=Application;" >> ~/.local/share/applications/joplin.desktop
```
## Mobile applications