kernel still breaking. updated name which may have been issue

This commit is contained in:
tumillanino
2026-04-09 15:58:55 +10:00
parent 1c59f8a718
commit c6ffa3591f
155 changed files with 6219 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
VER=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/pkgforge-dev/android-tools-AppImage/releases/latest))
curl -fLs --create-dirs https://github.com/pkgforge-dev/android-tools-AppImage/releases/download/${VER}/Android_Tools-${VER%@*}-anylinux-x86_64.AppImage -o /usr/bin/android-tools
chmod +x /usr/bin/android-tools
mkdir -p /tmp/android-tmp/
(
cd /tmp/android-tmp/
/usr/bin/android-tools --appimage-extract
)
readarray -t BINS < <(find /tmp/android-tmp/AppDir/bin/ -type f -printf "%f\n")
rm -rf /tmp/android-tmp/
for bin in "${BINS[@]}"; do
case "$bin" in
*xdg-open|*.hook|*.conf) continue;;
esac
ln -fs /usr/bin/android-tools /usr/bin/"$bin"
done