sunhat/install/app-localsend.sh
David Heinemeier Hansson 8c57befb6b Add LocalSend as a default app
Great way to send stuff between computers and phones on the same network
quickly.
2024-06-06 19:27:19 +02:00

7 lines
337 B
Bash

cd ~/Downloads
LOCALSEND_VERSION=$(curl -s "https://api.github.com/repos/localsend/localsend/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
wget -O localsend.deb "https://github.com/localsend/localsend/releases/latest/download/LocalSend-${LOCALSEND_VERSION}-linux-x86-64.deb"
sudo apt install ./localsend.deb
rm localsend.deb
cd -