View e.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |