Skip to content

Commit 1dc7ba7

Browse files
committed
fix base64 on macos on ipsw_prepare_ios6touch3
1 parent 3752946 commit 1dc7ba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

restore.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4483,11 +4483,11 @@ ipsw_prepare_ios6touch3() {
44834483
jb="-j"
44844484
kc="$sundance/artifacts/kernelcache.jailbroken.n18ap.bin"
44854485
kc_sha1="56baaebd7c260f3d41679fee686426ef2578bbd3"
4486-
[[ ! -s $kc ]] && curl https://gist.githubusercontent.com/NyanSatan/1cf6921821484a2f8f788e567b654999/raw/7fa62c2cb54855d72b2a91c2aa3d57cab7318246/magic-A63970m.b64 | base64 -d | gunzip > $kc
4486+
[[ ! -s $kc ]] && curl https://gist.githubusercontent.com/NyanSatan/1cf6921821484a2f8f788e567b654999/raw/7fa62c2cb54855d72b2a91c2aa3d57cab7318246/magic-A63970m.b64 | base64 --decode | gunzip > $kc
44874487
else
44884488
kc="$sundance/artifacts/kernelcache.n18ap.bin"
44894489
kc_sha1="2c42a07b82d14dab69417f750d0e4ca118bf225c"
4490-
[[ ! -s $kc ]] && curl https://gist.githubusercontent.com/NyanSatan/1cf6921821484a2f8f788e567b654999/raw/095022a2e8635ec3f3ee3400feb87280fd2c9f17/magic-A63970m-jb.b64 | base64 -d | gunzip > $kc
4490+
[[ ! -s $kc ]] && curl https://gist.githubusercontent.com/NyanSatan/1cf6921821484a2f8f788e567b654999/raw/095022a2e8635ec3f3ee3400feb87280fd2c9f17/magic-A63970m-jb.b64 | base64 --decode | gunzip > $kc
44914491
fi
44924492
if [[ $($sha1sum $kc 2>/dev/null | awk '{print $1}') != "$kc_sha1" ]]; then
44934493
rm $kc

0 commit comments

Comments
 (0)