File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ ORIGINAL_IPA_SHA256="187253d4aa1c951af95957a49b926cfb7be4e953af578b6963fb4c7c9c0
9
9
ORIGINAL_IPA_URL=" https://archive.org/download/i-3-u-so-com.julienadam.cassius-1.04/I-3-U-SO-com.julienadam.cassius-1.04.ipa"
10
10
ORIGINAL_ICON_URL=" https://web.archive.org/web/20240111215624if_/https://is4-ssl.mzstatic.com/image/thumb/Purple/2b/df/56/mzi.rptjtlhi.png/738x0w.png"
11
11
IPA_NAME=" iloveusomuch.ipa"
12
+ GITHUB_REPOSITORY_NAME=" michaelwright235/iloveusomuch"
12
13
13
14
ORIGINAL_ZIP_PATH=" Payload/Cassius.app/"
14
15
ORIGINAL_ZIP_FILES=(
@@ -35,6 +36,21 @@ if [ "$choice" == "n" ]; then
35
36
exit 0
36
37
fi
37
38
39
+ # Download the latest iloveusomuch.ipa release
40
+ if [ " $1 " != " project" ]; then
41
+ loveusomuchurl=` curl -s " https://api.github.com/repos/$GITHUB_REPOSITORY_NAME /releases/latest" \
42
+ | grep " browser_download_url.*ipa" \
43
+ | cut -d : -f 2,3 \
44
+ | tr -d \" \
45
+ | tr -d ' [:blank:]' `
46
+ echo " Downloading the latest iloveusomuch.ipa..."
47
+ curl -SLo " ./$IPA_NAME " " $loveusomuchurl "
48
+ if ! [ $? = 0 ]; then
49
+ echo " Failed to download iloveusomuch.ipa"
50
+ exit 1
51
+ fi
52
+ fi
53
+
38
54
# Download the original ipa file if it doesn't exit
39
55
if ! [ -f " ./$ORIGINAL_IPA_NAME " ]; then
40
56
echo " Downloading the original app..."
You can’t perform that action at this time.
0 commit comments