From a595a9bf1a212f929dff24359501b005f2700581 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 19:28:29 -0500 Subject: [PATCH] Updated minimum dependencie checker to account for aarch64. --- audiogame-manager.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index fe077d8..4f33c29 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1341,8 +1341,13 @@ gameList=( "World of War" ) -# Make sure the minimum of curl, sox, wine, and winetricks are installed -for i in curl sox wine winetricks ; do +# Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64 +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 echo "Please install $i before continuing." exit 1