Skip to content

Commit

Permalink
Update install-obsidian.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdufourcq authored Jul 16, 2024
1 parent 6d5beba commit a1734e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/tl/install-obsidian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# username set when launchine the build
username=$1

wget -O /home/$username/Obsidian.AppImage https://github.com/obsidianmd/obsidian-releases/releases/download/v1.5.12/Obsidian-1.5.12.AppImage
download_link=$(curl -s https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest | sed 's/[()",{}]/ /g; s/ /\n/g' | grep "https.*releases/download/.*AppImage" | grep -v arm64)
wget -O /home/$username/Obsidian.AppImage $download_link
chmod +x /home/$username/Obsidian.AppImage
chmod +x /home/$username/Desktop/obsidian.desktop

0 comments on commit a1734e7

Please sign in to comment.