diff --git a/.github/workflows/updates/VeraCrypt.sh b/.github/workflows/updates/VeraCrypt.sh index cf23ddebe7..03bd20c6e9 100755 --- a/.github/workflows/updates/VeraCrypt.sh +++ b/.github/workflows/updates/VeraCrypt.sh @@ -2,9 +2,12 @@ webVer[0]="$(get_release_raw veracrypt/VeraCrypt | sed 's/VeraCrypt_//g' )" webVer[1]="${webVer[0]}" +webVer[2]="${webVer[0]}" armhf_url[0]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[0]}/veracrypt-${webVer[0]}-Debian-10-armhf.deb" arm64_url[0]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[0]}/veracrypt-${webVer[0]}-Debian-10-arm64.deb" armhf_url[1]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[1]}/veracrypt-${webVer[1]}-Debian-11-armhf.deb" arm64_url[1]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[1]}/veracrypt-${webVer[1]}-Debian-11-arm64.deb" +armhf_url[2]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[2]}/veracrypt-${webVer[2]}-Debian-12-armhf.deb" +arm64_url[2]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[2]}/veracrypt-${webVer[2]}-Debian-12-arm64.deb" source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh diff --git a/apps/VeraCrypt/install-32 b/apps/VeraCrypt/install-32 index e98ced8093..2db5f83aa7 100755 --- a/apps/VeraCrypt/install-32 +++ b/apps/VeraCrypt/install-32 @@ -2,8 +2,13 @@ version=1.26.7 version2=1.26.14 +version3=1.26.14 case $(get_codename) in +focal|jammy|noble) + ubuntu_ppa_installer "unit193/encryption" + install_packages veracrypt || exit 1 + ;; buster) install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version}/veracrypt-${version}-Debian-10-armhf.deb || exit 1 ;; @@ -11,6 +16,9 @@ bullseye) install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version2}/veracrypt-${version2}-Debian-11-armhf.deb || exit 1 ;; bookworm) - install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.26.7-Debian-12-armhf.deb || exit 1 + install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version3}/veracrypt-${version3}-Debian-12-armhf.deb || exit 1 + ;; +*) + error "User error: VeraCrypt is not available for your operating system release" ;; esac diff --git a/apps/VeraCrypt/install-64 b/apps/VeraCrypt/install-64 index f9b1dc387e..7628ddafcf 100755 --- a/apps/VeraCrypt/install-64 +++ b/apps/VeraCrypt/install-64 @@ -2,11 +2,16 @@ version=1.26.7 version2=1.26.14 +version3=1.26.14 case $(get_codename) in bionic) install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.25.9-Ubuntu-18.04-arm64.deb || exit 1 ;; +focal|jammy|noble) + ubuntu_ppa_installer "unit193/encryption" + install_packages veracrypt || exit 1 + ;; buster) install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version}/veracrypt-${version}-Debian-10-arm64.deb || exit 1 ;; @@ -14,6 +19,9 @@ bullseye) install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version2}/veracrypt-${version2}-Debian-11-arm64.deb || exit 1 ;; bookworm) - install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.26.7-Debian-12-arm64.deb || exit 1 + install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version3}/veracrypt-${version3}-Debian-12-arm64.deb || exit 1 + ;; +*) + error "User error: VeraCrypt is not available for your operating system release" ;; esac