#!/bin/bash if [[ $(uname -m) != *aarch64* && $(uname -m) != *arm* ]]; then echo "Your device is not compatible! This script only supports ARM devices." echo "Exiting..." exit fi if [ ! -r "/storage/emulated/0" ]; then echo "For this script to work, Termux needs file access permissions." echo "Exiting..." exit fi pkg update pkg install proot-distro -y if [ ! -d "/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu" ]; then pd i ubuntu fi pd sh ubuntu -- bash <(curl -s https://raw.githubusercontent.com/hwalker56/WiiLinkPatcherAndroid/main/ubuntu.sh)