Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Coding

Tom E plooshi

💻
Coding
  • United States Of America
  • 05:46 (UTC -04:00)
  • Twitter @ploosh_ptr
View GitHub Profile
View e.sh
#!/bin/sh
if [ "$(uname)" = "Darwin" ]; then
if [ "$(uname -p)" = "arm" ] || [ "$(uname -p)" = "arm64" ]; then
if [ "$(SYSTEM_VERSION_COMPAT=1 sw_vers -productName)" != "Mac OS X" ]; then
echo "It's recommended that this script be ran on macOS/Linux with a non-bootstrapped iOS device running checkra1n attached."
echo "Press enter to continue"
read -r REPLY
ARM=yes
fi
fi