Updated minimum dependencie checker to account for aarch64.
This commit is contained in:
parent
7ec0035fb4
commit
a595a9bf1a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user