diff --git a/apps/BalenaEtcher/install-32 b/apps/BalenaEtcher/install-32 index a503ad1..93ab7b1 100755 --- a/apps/BalenaEtcher/install-32 +++ b/apps/BalenaEtcher/install-32 @@ -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 \ No newline at end of file diff --git a/apps/BalenaEtcher/install-64 b/apps/BalenaEtcher/install-64 index 1dd5e87..b0d4e69 100755 --- a/apps/BalenaEtcher/install-64 +++ b/apps/BalenaEtcher/install-64 @@ -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 diff --git a/apps/BalenaEtcher/uninstall b/apps/BalenaEtcher/uninstall index 08c3ba4..2d792ad 100755 --- a/apps/BalenaEtcher/uninstall +++ b/apps/BalenaEtcher/uninstall @@ -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