File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 24
24
OUT_DIR=" ./Payload/iloveusomuch.app"
25
25
fi
26
26
27
- # Suggest downloading the original ipa file if it doesn't exit
27
+ echo " This script injects assets from the original app into an .ipa file or the Xcode project itself."
28
+ echo " The original app files are going to be downladed. Those files contain copyrighted materials."
29
+ printf " \033[0;31m$( tput bold) You CANNOT distribute the resulting $IPA_NAME file in any way. For personal use only.$( tput sgr0) \033[0m\n"
30
+ while [ " $choice " != " n" ] && [ " $choice " != " y" ]; do
31
+ printf " Do you want to continue? [y/n]: "
32
+ read choice
33
+ done
34
+ if [ " $choice " == " n" ]; then
35
+ exit 0
36
+ fi
37
+
38
+ # Download the original ipa file if it doesn't exit
28
39
if ! [ -f " ./$ORIGINAL_IPA_NAME " ]; then
29
- echo " The original.ipa file doesn't exist. This script can automatically download it from archive.org."
30
- echo " Note: this file contains copyrighted materials that will be injected into the resulting app."
31
- printf " \033[0;31m$( tput bold) You CANNOT distribute the resulting $IPA_NAME file in any way. For personal use only.$( tput sgr0) \033[0m\n"
32
- while [ " $choice " != " n" ] && [ " $choice " != " y" ]; do
33
- printf " Do you want to continue? [y/n]: "
34
- read choice
35
- done
36
- if [ " $choice " == " n" ]; then
37
- exit 0
38
- fi
39
40
echo " Downloading the original app..."
40
41
curl -SLo " ./$ORIGINAL_IPA_NAME " " $ORIGINAL_IPA_URL "
41
42
if ! [ $? = 0 ]; then
You can’t perform that action at this time.
0 commit comments