Updated minimum dependencie checker to account for aarch64.

This commit is contained in:
Storm Dragon 2024-12-12 19:28:29 -05:00
parent 7ec0035fb4
commit a595a9bf1a

View File

@ -1341,8 +1341,13 @@ gameList=(
"World of War" "World of War"
) )
# Make sure the minimum of curl, sox, wine, and winetricks are installed # Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64
for i in curl sox wine winetricks ; do if [[ "$(uname -m)" == "aarch64" ]]; then
minimumDependencies=("FEXLoader")
else
minimumDependencies=("curl" "sox" "wine")
fi
for i in "${minimumDependencies[@]}" ; do
if ! command -v $i &> /dev/null ; then if ! command -v $i &> /dev/null ; then
echo "Please install $i before continuing." echo "Please install $i before continuing."
exit 1 exit 1