Merge pull request #36 from sasa8810/main
download futurerestore using nightly.link
This commit is contained in:
commit
7f0533d11d
3 changed files with 14 additions and 0 deletions
Binary file not shown.
Binary file not shown.
14
downr1n.sh
14
downr1n.sh
|
|
@ -409,6 +409,20 @@ trap _exit_handler EXIT
|
||||||
# ============
|
# ============
|
||||||
# Dependencies
|
# Dependencies
|
||||||
# ============
|
# ============
|
||||||
|
|
||||||
|
# Check if futurerestore exists
|
||||||
|
if [ ! -e "$oscheck"/futurerestore ]; then
|
||||||
|
echo "[*] Downloading futurerestore please wait..." # futurerestore downloader by sasa :)
|
||||||
|
if [ "$os" = "Darwin" ]; then
|
||||||
|
curl -sLo futurerestore-macOS-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-macOS-RELEASE.zip
|
||||||
|
unzip futurerestore-macOS-RELEASE.zip
|
||||||
|
else
|
||||||
|
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
|
||||||
|
fi
|
||||||
|
mv futurerestore "$dir"/
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$os" = "Linux" ]; then
|
if [ "$os" = "Linux" ]; then
|
||||||
chmod +x getSSHOnLinux.sh
|
chmod +x getSSHOnLinux.sh
|
||||||
./getSSHOnLinux.sh &
|
./getSSHOnLinux.sh &
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue