Skip to content

Commit 0b6a5ca

Browse files
Update install.sh
1 parent ac8541e commit 0b6a5ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
get_base_dir # Returns execution directory path in $BD variable
77
# get_net_stat
88
check_compat 7.2.22
9+
HOUDINI_ARCH=x86_64
10+
HOUDINI_API=30
911
#####--- Import Functions ---#####
1012

1113
# Ensure compatible GearLock version
@@ -35,12 +37,12 @@ geco "[INFO] -SDK: $SDK"
3537
geco "[INFO] -Platform: $SYSTEM_ARCH"
3638

3739
# Ensure Android version
38-
if test "$SDK" < "30"; then
40+
if test "$SDK" < "$HOUDINI_API"; then
3941
geco "\n[!!!] This package only supports Android11." && exit 101
4042
fi
4143

4244
# Ensure Device Architecture
43-
if test "$SYSTEM_ARCH" != "x86_64"; then
45+
if test "$SYSTEM_ARCH" != "$HOUDINI_ARCH"; then
4446
geco "\n[!!!] Unsupport Platform: -$SYSTEM_ARCH ;This package only supports x86_64 devices!" && exit 101
4547
fi
4648

0 commit comments

Comments
 (0)