Merge pull request #124 from thisiskeanyvy/main

Removal of obsolete futurerestore download links and temporary correction to the latest build
This commit is contained in:
Edwin 2024-09-09 08:31:21 -04:00 committed by GitHub
commit b49769b07f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -596,13 +596,32 @@ check_and_install_package "pyliblzfse"
if [ ! -e "$dir"/futurerestore ]; then if [ ! -e "$dir"/futurerestore ]; then
printg "[*] Downloading futurerestore please wait..." # futurerestore downloader by sasa :) printg "[*] Downloading futurerestore please wait..." # futurerestore downloader by sasa :)
if [ "$os" = "Darwin" ]; then if [ "$os" = "Darwin" ]; then
curl -sLo futurerestore-macOS-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-macOS-RELEASE.zip # Retrieving the latest build : https://github.com/futurerestore/futurerestore/actions
# Last update : 2024-09-08 (https://nightly.link/futurerestore/futurerestore/actions/runs/10756811250)
# Temporary solution: please specify a version compatible with downra1n fuurerestore commands.
curl -sLo futurerestore-macOS-RELEASE.zip https://nightly.link/futurerestore/futurerestore/actions/runs/10756811250/futurerestore-macOS-RELEASE.zip
unzip futurerestore-macOS-RELEASE.zip unzip futurerestore-macOS-RELEASE.zip
tar Jxfv futurerestore-*.xz tar Jxfv futurerestore-*.xz
# Expired link / artifact (Mac OS)
# curl -sLo futurerestore-macOS-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-macOS-RELEASE.zip
# unzip futurerestore-macOS-RELEASE.zip
# tar Jxfv futurerestore-*.xz
else else
curl -sLo futurerestore-Linux-x86_64-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-Linux-x86_64-RELEASE.zip # Retrieving the latest build : https://github.com/futurerestore/futurerestore/actions
# Last update : 2024-09-08 (https://nightly.link/futurerestore/futurerestore/actions/runs/10756811250)
# Temporary solution: please specify a version compatible with downra1n fuurerestore commands.
curl -sLo futurerestore-Linux-x86_64-RELEASE.zip https://nightly.link/futurerestore/futurerestore/actions/runs/10756811250/futurerestore-Linux-x86_64-RELEASE.zip
unzip futurerestore-Linux-x86_64-RELEASE.zip unzip futurerestore-Linux-x86_64-RELEASE.zip
tar Jxfv futurerestore-*.xz tar Jxfv futurerestore-*.xz
# Expired link / artifact (Linux)
# curl -sLo futurerestore-Linux-x86_64-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-Linux-x86_64-RELEASE.zip
# unzip futurerestore-Linux-x86_64-RELEASE.zip
# tar Jxfv futurerestore-*.xz
fi fi
mv futurerestore "$dir"/ mv futurerestore "$dir"/
rm -rf futurerestore-* rm -rf futurerestore-*