Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
fixed a thing on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
Al4ise authored Jul 25, 2021
1 parent 1efd2dc commit 998bc0c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions azule
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ case $(uname) in
}

DecryptBinary () {
"$AZULE/usr/bin/unfairplay" "$1" "$i" &>/dev/null
"$AZULE/usr/bin/unfairplay" "$1" "$1" &>/dev/null
}

else
jq="jq"
insert_dylib="insert_dylib"
Expand All @@ -73,15 +72,15 @@ case $(uname) in
}

ExtractPlistValue () {
"$plutil" -key "$1" "$2" >> tmp.plist 2>/dev/null
"$plutil" -key "$1" "$2" >> tmp 2>/dev/null
if [ "$?" != "0" ]; then
rm tmp &>/dev/null
return 1
rm tmp.plist &>/dev/null
fi
"$plutil" -convert xml1 tmp.plist &>/dev/null
"$plutil" -convert xml1 tmp &>/dev/null

cat tmp.plist | sed -n "s/.*<"$3">\(.*\)<\/"$3">.*/\1/p"
rm tmp.plist &>/dev/null
cat tmp | sed -n "s/.*<"$3">\(.*\)<\/"$3">.*/\1/p"
rm tmp &>/dev/null
}

ExtractDEB () {
Expand All @@ -99,7 +98,7 @@ case $(uname) in
}

DecryptBinary () {
flexdecrypt "$1" --output "$i" &>/dev/null
flexdecrypt "$1" --output "$1" &>/dev/null
}
iOS=1
fi
Expand Down

0 comments on commit 998bc0c

Please sign in to comment.