From 4fc3b416aef28a35a3e38a6c33586852cd55d506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=95=E3=81=95?= <91324887+sasa8810@users.noreply.github.com> Date: Wed, 30 Aug 2023 17:39:33 +0900 Subject: [PATCH] download futurerestore yourself --- downr1n.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/downr1n.sh b/downr1n.sh index 3efb61e..d9aa5e1 100755 --- a/downr1n.sh +++ b/downr1n.sh @@ -28,6 +28,17 @@ if [ ! -d "ramdisk/" ]; then git clone https://github.com/dualra1n/ramdisk.git 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 downgrade=1 fi