Skip to content

Commit 7cbe483

Browse files
authored
Update android-tools-appimage.sh
1 parent 9b0a007 commit 7cbe483

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

android-tools-appimage.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ARCH="$(uname -m)"
66
URUNTIME="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh"
77
SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
88
BINARY="https://dl.google.com/android/repository/platform-tools-latest-linux.zip"
9-
ICON="https://github.com/pkgforge-dev/android-tools-AppImage/blob/main/Android.png?raw=true"
109
UDEV="https://raw.githubusercontent.com/M0Rf30/android-udev-rules/refs/heads/main/51-android.rules"
1110

1211
export ADD_HOOKS="udev-installer.hook"
@@ -15,10 +14,9 @@ export URUNTIME_PRELOAD=1 # really needed here
1514

1615
# CREATE DIRECTORIES AND DOWNLOAD THE ARCHIVE
1716
mkdir -p ./AppDir/shared/bin ./AppDir/bin ./AppDir/etc/udev/rules.d
18-
wget "$BINARY" -O ./bin.zip
17+
wget --retry-connrefused --tries=30 "$BINARY" -O ./bin.zip
1918
unzip -q ./bin.zip
2019
rm -f ./bin.zip
21-
cp -vr ./platform-tools/lib64 ./AppDir/bin
2220
cp -v ./platform-tools/mke2fs.conf ./AppDir/bin
2321
mv -v ./platform-tools/* ./AppDir/shared/bin
2422

0 commit comments

Comments
 (0)