|
|
|
@ -6,12 +6,11 @@ function error {
|
|
|
|
|
exit 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rm -f snapdrop-linux-arm64.zip
|
|
|
|
|
rm -f Snapdrop-linux-arm64.zip
|
|
|
|
|
|
|
|
|
|
wget https://github.com/chunky-milk/snapdrop-rpi/releases/download/1.0/snapdrop-linux-arm64.zip || error "Failed to download archive!"
|
|
|
|
|
unzip snapdrop-linux-arm64.zip || error "Failed to extract archive!"
|
|
|
|
|
rm -f snapdrop-linux-arm64.zip || error "Failed to remove archive!"
|
|
|
|
|
mv Snapdrop-linux-arm64 snapdrop
|
|
|
|
|
wget https://github.com/chunky-milk/snapdrop-rpi/releases/download/2.0/Snapdrop-linux-arm64.zip || error "Failed to download archive!"
|
|
|
|
|
unzip Snapdrop-linux-arm64.zip || error "Failed to extract archive!"
|
|
|
|
|
rm -f Snapdrop-linux-arm64.zip || error "Failed to remove archive!"
|
|
|
|
|
|
|
|
|
|
# Desktop entry
|
|
|
|
|
echo "[Desktop Entry]
|
|
|
|
|