File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ APP=android-tools-appimage
77SITE=" https://dl.google.com/android/repository/platform-tools-latest-linux.zip"
88ICON=" https://github.com/pkgforge-dev/android-tools-AppImage/blob/main/Android.png?raw=true"
99APPIMAGETOOL=" https://github.com/pkgforge-dev/appimagetool-uruntime/releases/download/continuous/appimagetool-$ARCH .AppImage"
10+ UPINFO=" gh-releases-zsync|$( echo " $GITHUB_REPOSITORY " | tr ' /' ' |' ) |latest|*$ARCH .AppImage.zsync"
1011LIB4BIN=" https://raw.githubusercontent.com/VHSgunzo/sharun/refs/heads/main/lib4bin"
1112
1213# CREATE DIRECTORIES AND DOWNLOAD THE ARCHIVE
@@ -49,7 +50,8 @@ unset ARGV0
4950export PATH="$CURRENTDIR/bin:$PATH"
5051
5152_get_udev_rules() {
52- if cat /etc/udev/rules.d/*droid.rules >/dev/null 2>&1 || cat /usr/lib/udev/rules.d/*droid.rules >/dev/null 2>&1; then
53+ if cat /etc/udev/rules.d/*droid.rules >/dev/null 2>&1 \
54+ || cat /usr/lib/udev/rules.d/*droid.rules >/dev/null 2>&1; then
5355 echo "ERROR: udev rules are already installed!"
5456 echo "Errors persisting with installed udev rules may be due to missing"
5557 echo "udev rules for device or lack of permissions from device"
@@ -143,6 +145,5 @@ echo "$VERSION" > ~/version
143145cd ..
144146wget " $APPIMAGETOOL " -O appimagetool
145147chmod +x ./appimagetool
146- ./appimagetool --comp zstd \
147- --mksquashfs-opt -Xcompression-level --mksquashfs-opt 22 ./AppDir
148+ ./appimagetool -n -u " $UPINFO " ./AppDir
148149echo " All Done!"
You can’t perform that action at this time.
0 commit comments