Skip to content

Commit

Permalink
bump to v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Mar 4, 2022
1 parent fe824c5 commit 0f23e72
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shellcheck disable=SC2148
# Leave empty to be asked when running the build script
export NAME='sh0wer'
export VERSION='v1.0.3'
export VERSION='v1.0.4'
export ARCH=''

# Leave empty to include all kernel modules in the build
Expand Down
15 changes: 3 additions & 12 deletions scripts/common
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ enter_to_quit() {
read -r null
}

odysseyra1n_logo() {
echo " _ _"
echo " ___ __| |_ _ ___ ___ ___ _ _ _ __ __ _/ |_ __"
echo " / _ \ / _ | | | / __/ __|/ _ \ | | | '__/ _ | | '_ \\"
echo " | (_) | (_| | |_| \__ \__ \ __/ |_| | | | (_| | | | | |"
echo " \___/ \__,_|\__, |___/___/\___|\__, |_| \__,_|_|_| |_|"
echo " |___/ |___/ "
}

ssh_logo() {
echo " _ "
echo " ___ ___| |__"
Expand All @@ -71,6 +62,6 @@ sh0wer_logo(){
}

prompt() {
printf '%s' "$1"
read -r "$2"
}
printf '%s' "$1"
read -r "$2"
}
14 changes: 8 additions & 6 deletions scripts/odysseyra1n
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ If you're currently jailbroken with a different bootstrap
installed, you will need to Reset System via the Loader app,
then rejailbreak with checkra1n but don't install Cydia from
the Loader app.
Your device must also be connected to the internet.
Connect your device.
Expand All @@ -35,9 +36,9 @@ if [[ -f "/.bootstrapped" ]]; then
exit 1
fi
if [[ -f "/.installed_odyssey" ]]; then
echo " -> Error: Odysseyra1n is already installed."
rm ./bootstrap* ./*.deb odysseyra1n-install.bash
exit 1
echo " -> Error: Odysseyra1n is already installed."
rm ./bootstrap* ./*.deb odysseyra1n-install.bash
exit 1
fi
VER=$(/binpack/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
if [[ "${VER%%.*}" -ge 12 ]] && [[ "${VER%%.*}" -lt 13 ]]; then
Expand All @@ -52,10 +53,11 @@ else
fi
mount -o rw,union,update /dev/disk0s1s1
rm -rf /etc/{alternatives,apt,ssl,ssh,dpkg,profile{,.d}} /Library/dpkg /var/{cache,lib}
SNAPSHOT=$(snappy -s | cut -d ' ' -f 3)
SNAPSHOT=${SNAPSHOT%$'\n'}
snappy -f / -r "$SNAPSHOT" -t orig-fs > /dev/null 2>&1
tar --preserve-permissions -xkf bootstrap_${CFVER}.tar -C /
SNAPSHOT=$(snappy -s | cut -d ' ' -f 3 | tr -d '\n')
snappy -f / -r "$SNAPSHOT" -t orig-fs > /dev/null 2>&1
/prep_bootstrap.sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
if [[ $VER = 12.1* ]] || [[ $VER = 12.0* ]]; then
Expand Down

0 comments on commit 0f23e72

Please sign in to comment.