@@ -31,9 +31,9 @@ cat >> ./AppRun << 'EOF'
3131CURRENTDIR="$(dirname "$(readlink -f "$0")")"/usr/bin
3232UDEVNOTICE='No android udev rules detected, use "--getudev" to install'
3333UDEVREPO="https://github.com/M0Rf30/android-udev-rules.git"
34- export PATH="$CURRENTDIR:$PATH"
3534cat /etc/udev/rules.d/*droid.rules >/dev/null 2>&1 && UDEVNOTICE=""
3635ARGV0="${ARGV0#./}"
36+ export PATH="$CURRENTDIR:$PATH"
3737
3838_get_udev_rules() {
3939 if cat /etc/udev/rules.d/*droid.rules >/dev/null 2>&1; then
@@ -71,11 +71,11 @@ _get_udev_rules() {
7171
7272_get_symlinks() {
7373 BINDIR="${XDG_BIN_HOME:-$HOME/.local/bin}"
74- links="adb etc1tool fastboot make_f2fs make_f2fs_casefold mke2fs sqlite3"
74+ links="adb etc1tool fastboot hprof-conv make_f2fs make_f2fs_casefold mke2fs sqlite3"
7575 echo ""
7676 echo "This function will make wrapper symlinks in $BINDIR"
77- echo "that will point to $APPIMAGE"
78- echo "with the names: \"$links\""
77+ echo "that will point to $APPIMAGE with the names: "
78+ echo "$links" | tr ' ' '\n'
7979 echo ""
8080 echo "Make sure there are not existing files $BINDIR with those names"
8181 printf '\n%s' "Proceed with the symlink creation? (Y/n): "
@@ -93,14 +93,14 @@ _get_symlinks() {
9393
9494# logic
9595case $ARGV0 in
96- 'adb'|'etc1tool'|'fastboot'|'make_f2fs '|\
97- 'make_f2fs_casefold'|'mke2fs'|'sqlite3')
96+ 'adb'|'etc1tool'|'fastboot'|'hprof-conv '|\
97+ 'make_f2fs'|' make_f2fs_casefold'|'mke2fs'|'sqlite3')
9898 "$CURRENTDIR/$ARGV0" "$@" || echo "$UDEVNOTICE"
9999 ;;
100100 *)
101101 case $1 in
102- 'adb'|'etc1tool'|'fastboot'|'make_f2fs '|\
103- 'make_f2fs_casefold'|'mke2fs'|'sqlite3')
102+ 'adb'|'etc1tool'|'fastboot'|'hprof-conv '|\
103+ 'make_f2fs'|' make_f2fs_casefold'|'mke2fs'|'sqlite3')
104104 option="$1"
105105 shift
106106 "$CURRENTDIR/$option" "$@" || echo "$UDEVNOTICE"
0 commit comments