download futurerestore yourself

This commit is contained in:
ささ 2023-08-30 17:39:33 +09:00 committed by GitHub
parent dc12f73990
commit 4fc3b416ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,17 @@ if [ ! -d "ramdisk/" ]; then
git clone https://github.com/dualra1n/ramdisk.git git clone https://github.com/dualra1n/ramdisk.git
fi fi
if [ ! -e "$oscheck"/futurerestore ]; then
if [ "$os" = "Darwin" ]; then
curl -sLo https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-macOS-RELEASE.zip
unzip futurerestore-macOS-RELEASE.zip
else if [ "$os" = "Linux" ]; then
curl -sLo https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-Linux-x86_64-RELEASE.zip
unzip futurerestore-Linux-x86_64-RELEASE.zip
mv futurerestore "$os"/
rm -rf futurerestore-*
fi
if [ -e .downgraded ]; then if [ -e .downgraded ]; then
downgrade=1 downgrade=1
fi fi