Update balenaEtcher to latest version

pull/61/head
Botspot 5 years ago
parent 8b913bcda1
commit 4a2a3021cb

@ -7,9 +7,10 @@ function error {
exit 1
}
rm -f ./balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb
# Get dependencies
wget https://github.com/futurejones/balena-etcher-arm/releases/download/v1.5.63/balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb || error "Failed to download!"
rm -f ./etcher_1.5.109_armhf.deb
sudo apt install -y ./balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb || error "failed to install deb file!"
rm -f ./balena-etcher-electron_1.5.63_Raspbian_Buster_armhf.deb
wget https://github.com/Itai-Nelken/Etcher-arm-32-64/raw/main/etcher_1.5.109_armhf.deb || error "Failed to download!"
sudo apt install -y --fix-broken ./etcher_1.5.109_armhf.deb || error "failed to install deb file!"
rm -f ./etcher_1.5.109_armhf.deb
exit 0

@ -7,10 +7,10 @@ function error {
exit 1
}
rm -f ./balena-etcher-electron_1.5.63+a1558116_ubuntu_19.10_arm64.deb
# Get dependencies
wget https://github.com/futurejones/balena-etcher-arm/releases/download/v1.5.63/balena-etcher-electron_1.5.63+a1558116_ubuntu_19.10_arm64.deb || error "File download failed!"
rm -f ./balena-etcher-1.5.109_arm64.deb
sudo apt install -y --fix-broken ./balena-etcher-electron_1.5.63+a1558116_ubuntu_19.10_arm64.deb || error "failed to install deb file!"
rm -f ./balena-etcher-electron_1.5.63+a1558116_ubuntu_19.10_arm64.deb
wget https://github.com/Itai-Nelken/Etcher-arm-32-64/blob/main/balena-etcher-1.5.109_arm64.deb || error "Failed to download!"
sudo apt install -y --fix-broken ./balena-etcher-1.5.109_arm64.deb || error "failed to install deb file!"
rm -f ./balena-etcher-1.5.109_arm64.deb
exit 0

@ -8,3 +8,5 @@ function error {
}
sudo apt purge -y balena-etcher-electron || error "failed to purge the deb file!"
rm -f ./etcher_1.5.109_armhf.deb
exit 0

Loading…
Cancel
Save