Skip to content

Commit 6f4cc43

Browse files
Merge pull request #4 from natsumerinchan/development
Update to v2.1
2 parents a5b4076 + 2b3c81b commit 6f4cc43

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

!zygote.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TYPE="Package" #Specify (Package / Extension)
1010

1111
AUTHOR="natsumerinchan" #Your name as the Developer/Owner/Packer
1212

13-
VERSION="v2.0" #Specify the Version of this package/extension
13+
VERSION="v2.1" #Specify the Version of this package/extension
1414

1515
SHORTDESC="Install Android11 Arm translation extracted from WSA.(Only for x86_64)" #Provide a short description about this package/extension
1616

install.sh

Lines changed: 7 additions & 5 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
@@ -31,17 +33,17 @@ else
3133
SYSTEM_ARCH=x86
3234
fi
3335

34-
geco "[INFO] -SDK: $SDK"
36+
geco "[INFO] -API_Level: $SDK"
3537
geco "[INFO] -Platform: $SYSTEM_ARCH"
3638

3739
# Ensure Android version
38-
if test "$SDK" != "30"; then
39-
geco "\n[!!!] This package only supports Android11." && exit 101
40+
if test "$SDK" -lt "$HOUDINI_API"; then
41+
geco "\n[!!!] API_Level could not lower than $HOUDINI_API." && exit 101
4042
fi
4143

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

4749
# Before installation

0 commit comments

Comments
 (0)