Skip to content

Instantly share code, notes, and snippets.

@j0lol
Created February 5, 2022 00:42
Show Gist options
  • Save j0lol/c2852441cf276b792a7a2700f5d6559b to your computer and use it in GitHub Desktop.
Save j0lol/c2852441cf276b792a7a2700f5d6559b to your computer and use it in GitHub Desktop.
rm -r sd
mkdir sd
rm -r rcmloader
mkdir rcmloader
command -v git >/dev/null 2>&1 || { echo >&2 "I require git but it's not installed. Aborting."; exit 1; }
command -v gh >/dev/null 2>&1 || { echo >&2 "I require gh but it's not installed. Aborting."; exit 1; }
gh release download -p atmosphere* -R Atmosphere-NX/Atmosphere -D sd
gh release download -p hekate_ctcaer_* -R ctcaer/hekate -D sd
cd sd
unzip \*.zip
rm *.zip
mv *.bin ../rcmloader
mv ../rcmloader/*.bin ../rcmloader/payload.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment