Skip to content

Commit

Permalink
feat: add arch check to prevent arm devices from working as not suppo…
Browse files Browse the repository at this point in the history
…rted
  • Loading branch information
dgibbs64 committed Sep 24, 2024
1 parent 72bb39e commit 108dd27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lgsm/modules/check_system_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

info_distro.sh

# RAM requirements in gigabytes for each game or engine.
if [[ "${arch}" != "x86_64" && "${arch}" != "i386" && "${arch}" != "i686" ]]; then
echo -e "${red}Error: Only x86 type architectures are supported. Detected architecture: ${arch}${default}"
fn_script_log_error "Only x86 type architectures are supported. Detected architecture: ${arch}"
core_exit.sh
fi

if [ "${shortname}" == "ark" ]; then
ramrequirementgb="7"
Expand Down

0 comments on commit 108dd27

Please sign in to comment.