Skip to content

Commit

Permalink
Update android-tools-appimage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueru-sama authored Jul 25, 2024
1 parent 7c1b20c commit 1a8b62e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android-tools-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ln -s ./Android.png ./.DirIcon
cat >> ./AppRun << 'EOF'
#!/bin/sh
CURRENTDIR="$(dirname "$(readlink -f "$0")")"/usr/bin
UDEVNOTICE=$(echo "If you get errors it might be because of missing android udev rules, use --getudev to install them")
UDEVNOTICE="If you get errors it might be because of missing android udev rules, use --getudev to install them"
ARGS="$(echo "$@" | cut -f2- -d ' ')"
export PATH="$CURRENTDIR:$PATH"
if [ "$1" = "adb" ]; then
Expand All @@ -54,8 +54,8 @@ if [ "$1" = "adb" ]; then
echo "udev rules already installed"
echo "Errors persisting with installed udev rules may be due to specific phone missing from the rules or insufficient permissions on the phone"
else
UDEVREPO=https://github.com/M0Rf30/android-udev-rules.git
git clone $UDEVREPO
UDEVREPO="https://github.com/M0Rf30/android-udev-rules.git"
git clone "$UDEVREPO"
cd android-udev-rules || exit 1
chmod a+x ./install.sh
echo "udev rules installer from $UDEVREPO"
Expand Down

0 comments on commit 1a8b62e

Please sign in to comment.