Skip to content

Commit 3d3d567

Browse files
authored
Update android-tools-appimage.sh
1 parent caf7a3b commit 3d3d567

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

android-tools-appimage.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ if [ -z "$APP" ]; then exit 1; fi
88
mkdir -p "./$APP/tmp" && cd "./$APP/tmp" || exit
99

1010
# DOWNLOAD THE ARCHIVE
11-
mkdir ./tmp && cd ./tmp || exit
1211
wget "$SITE/$APP-latest-linux.zip" && unzip -qq ./*.zip
1312
cd ..
1413
mkdir "./$APP.AppDir" && mv --backup=t ./tmp/*/* ./$APP.AppDir
@@ -66,6 +65,5 @@ ARCH=x86_64 VERSION=$(./appimagetool -v | grep -o '[[:digit:]]*') ./appimagetool
6665
ls ./*.AppImage || { echo "appimagetool failed to make the appimage"; exit 1; }
6766
mv ./*AppImage ./"$VERSION"-"platform-tools.AppImage"
6867
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"
68+
mv ./*.AppImage .. && cd .. && rm -rf "./$APP"
7169
echo "All Done!"

0 commit comments

Comments
 (0)