We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3e9b3 commit 56e13d9Copy full SHA for 56e13d9
1 file changed
android-tools-appimage.sh
@@ -34,7 +34,7 @@ cat >> ./AppRun << 'EOF'
34
CURRENTDIR="$(readlink -f "$(dirname "$0")")"
35
UDEVNOTICE=$(echo "If you get errors it might be because you don't have the android udev rules for your device" )
36
if [ "$1" = "adb" ]; then
37
- "$CURRENTDIR"/adb "${@:2}"
+ "$CURRENTDIR"/adb "${@:2}" || echo "$UDEVNOTICE"
38
elif [ "$1" = "etc1tool" ]; then
39
"$CURRENTDIR"/etc1tool "${@:2}" || echo "$UDEVNOTICE"
40
elif [ "$1" = "fastboot" ]; then
@@ -68,4 +68,4 @@ mv ./*AppImage ./"$VERSION"-"platform-tools.AppImage"
68
if [ -z "$APP" ]; then exit 1; fi # Being extra safe lol
69
rm -rf "./$APP.AppDir" && rm ./appimagetool
70
mv ./*.AppImage .. && cd .. && rm -rf "./tmp"
71
-echo "All Done!"
+echo "All Done!"
0 commit comments