This repository was archived by the owner on May 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ Verbose () {
135135expand () {
136136 origin_dir=" $PWD "
137137 cd " $empty_dir " || exit
138- process_var=" ${1// \\ / } "
139-
138+ process_var=" $( echo $ {1// \\ / } | xargs ) "
139+
140140 if [[ " $process_var " == .* ]]; then
141141 process_var=" $( echo " $process_var " | sed " s|\.|$rootdir |" ) "
142142 fi
@@ -287,7 +287,7 @@ while getopts :n:i:o:c:a:b:x:f:d:p:huSewmzglv args; do
287287 ;;
288288
289289 h)
290- echo " Azule 0.1.7"
290+ echo " Azule 0.1.7-1 "
291291 echo " Mandatory Arguements:"
292292 echo " -i [Path/BundleID] Specify the path to the IPA to patch"
293293 echo " -o [Path] Specify an output directory"
@@ -733,9 +733,9 @@ for i in "${!temp_files[@]}"; do
733733 unset indexes[@]
734734 while [[ " $x " -lt " ${# temp_files[@]} " ]]; do
735735 indexes+=( " $x " )
736- string+=${temp_files[x]}
737- if [ -e " $string " ]; then
738- files+=( " $string " )
736+ string+=" ${temp_files[x]} "
737+ if [ -e " $( expand " $ string" ) " ] && ! [ -e " $( expand " $string ${temp_files[x+1]} " ) " ]; then
738+ files+=( " $( expand " $ string" ) " )
739739 for g in ${indexes[@]} ; do
740740 unset temp_files[g]
741741 done
You can’t perform that action at this time.
0 commit comments