Adding obsidian.sh

This commit is contained in:
araison 2024-01-28 12:23:31 +01:00
parent f69b4fb809
commit c14fa6f177

View File

@ -1 +1,3 @@
https://github.com/obsidianmd/obsidian-releases/releases
url=$(wget -q -O - https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest | grep 'deb"$' | awk -F'"' ' {print $4} ')
wget -O "obsidian.deb" "$url"
sudo dpkg -i "obsidian.deb"