Browse Source

feat: add arch check to prevent arm devices from working as not supported

pull/4527/merge
Daniel Gibbs 7 months ago
parent
commit
108dd27c32
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 6
      lgsm/modules/check_system_requirements.sh

6
lgsm/modules/check_system_requirements.sh

@ -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"

Loading…
Cancel
Save