From 511a263113404e44dccc96ad5b99792b5d8e305b Mon Sep 17 00:00:00 2001 From: beerpiss Date: Mon, 28 Mar 2022 15:54:57 +0700 Subject: [PATCH] feat: add deverser (no reason) --- .env | 1 + build.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.env b/.env index e968476..5389fdb 100644 --- a/.env +++ b/.env @@ -12,6 +12,7 @@ export CHECKRA1N_AMD64='' # checkra1n binary for amd64 export CHECKRA1N_I486='' # checkra1n binary for i486 export SILEO='' # org.coolstar.sileo deb for iphoneos-arm export ZSTD='' # latest gz-compressed zstd release from https://github.com/facebook/zstd +export DEVERSER='' # https://github.com/beerpiss/deverser.py # Switch to YES to include the latest pongoOS build (Build from GitHub Actions will always have this) # This is not accessible normally, you need to go into the shell diff --git a/build.sh b/build.sh index 24e22ba..c3cead0 100644 --- a/build.sh +++ b/build.sh @@ -23,6 +23,9 @@ source ./.env [ -z "$ZSTD" ] && { ZSTD="https://github.com$(curl -s https://github.com/facebook/zstd/releases | grep -Po "/facebook\/zstd/releases/download/v[\d.]+/zstd-[\d.]+\.tar\.gz" | head -1)" } +[ -z "$DEVERSER" ] && { + DEVERSER="https://github.com$(curl -s https://github.com/beerpiss/deverser.py/releases | grep -Po "\/beerpiss\/deverser.py\/releases\/download\/v[\d.%2Bgita-f]+\/deverser-linux_v[\d.%2Bgita-f]+" | head -1)" +} # Stage 1: User input # Ask for the version and architecture if variables are empty @@ -145,6 +148,7 @@ cp assets/PongoConsolidated.bin work/chroot/opt/a9x ( cd work/chroot/usr/local/bin curl -sLO "$CHECKRA1N" + curl -sLO "$DEVERSER" ) if [ "$GITHUB_ACTIONS" = true ]; then cp assets/odysseyra1n/odysseyra1n_resources.tar.zst work/chroot/opt/odysseyra1n