Skip to content

Commit

Permalink
feat: add deverser (no reason)
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Mar 28, 2022
1 parent 0f23e72 commit 511a263
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 511a263

Please sign in to comment.