Skip to content

Commit cb24752

Browse files
authored
Update android-tools-appimage.sh
1 parent 5ad5294 commit cb24752

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

android-tools-appimage.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export OUTNAME=Android_Tools-"$VERSION"-anylinux-"$ARCH".AppImage
2727
# add udev rules
2828
wget --retry-connrefused --tries=30 "$UDEV" -O ./AppDir/etc/udev/rules.d/51-android.rules
2929

30+
# We also need to be added to a group after installing udev rules
31+
sed -i '/cp -v/a usermod -a -G adbusers $(logname)' ./AppDir/bin/udev-installer.hook
32+
3033
# DEPLOY ALL LIBS
3134
wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun
3235
chmod +x ./quick-sharun

0 commit comments

Comments
 (0)