Browse Source
feat: add arch check to prevent arm devices from working as not supported
pull/4527/merge
Daniel Gibbs
7 months ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
1 changed files with
5 additions and
1 deletions
-
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" |
|
|
|