Merge pull request #618 from chunky-milk/patch-2

Update snapdrop links
pull/623/head
Botspot 4 years ago committed by GitHub
commit 7af02387ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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]

Loading…
Cancel
Save