diff --git a/README.md b/README.md index 4a76b2b94a..5e9d257817 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,7 @@ The [portable application](https://en.wikipedia.org/wiki/Portable_application) a ### 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-$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-$version-x86_64.AppImage\nIcon=/home/$USER/.joplin/Icon512.png\nType=Application\nCategories=Application;" >> ~/.local/share/applications/joplin.desktop +wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/install_ubuntu.sh | bash ``` ## Mobile applications