Skip to content

Commit

Permalink
fix for apps with spaces in their executable names
Browse files Browse the repository at this point in the history
  • Loading branch information
Al4ise committed May 29, 2022
1 parent cc4351e commit 42bf7bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azule
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ if [ -n "${files[*]}" ]; then
fi

# INJECTING LIBRARIES
for i in $(printf "%s\n" "${inject[@]}" | sort -u); do
while read -r i; do
id_path="$(idpath "$i")"
if ! { [[ "${linked[*]}" =~ $i && "${lib_dylibs[*]}" =~ $i ]] || [[ "$(otool -L "$executable" | cut -d ' ' -f1 | xargs)" =~ $id_path ]]; }; then
if [ -n "$weak" ]; then
Expand All @@ -1227,7 +1227,7 @@ if [ -n "${files[*]}" ]; then
Verbose "Injected $(lib_basename "$i")" "Couldn't inject $(lib_basename "$i")" 24 -x
fi
fi
done
done < <(IFS=$'\n' echo "${inject[@]}" | sort -u)

# MERGING FOLDERS
if [ -n "$merge" ]; then
Expand Down

0 comments on commit 42bf7bb

Please sign in to comment.