Skip to content

Commit 0fa2f77

Browse files
authored
Update android-tools-appimage.sh
1 parent cb24752 commit 0fa2f77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android-tools-appimage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ 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-
3330
# DEPLOY ALL LIBS
3431
wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun
3532
chmod +x ./quick-sharun
3633
./quick-sharun ./AppDir/shared/bin/*
3734

35+
# We also need to be added to a group after installing udev rules
36+
sed -i '/cp -v/a usermod -a -G adbusers $(logname)' ./AppDir/bin/udev-installer.hook
37+
3838
# MAKE APPIMAGE WITH URUNTIME
3939
wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime2appimage
4040
chmod +x ./uruntime2appimage

0 commit comments

Comments
 (0)