Skip to content

Commit

Permalink
Merge pull request #4 from natsumerinchan/development
Browse files Browse the repository at this point in the history
Update to v2.1
  • Loading branch information
natsumerinchan authored Jul 15, 2022
2 parents a5b4076 + 2b3c81b commit 6f4cc43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion !zygote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TYPE="Package" #Specify (Package / Extension)

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

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

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

Expand Down
12 changes: 7 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
get_base_dir # Returns execution directory path in $BD variable
# get_net_stat
check_compat 7.2.22
HOUDINI_ARCH=x86_64
HOUDINI_API=30
#####--- Import Functions ---#####

# Ensure compatible GearLock version
Expand All @@ -31,17 +33,17 @@ else
SYSTEM_ARCH=x86
fi

geco "[INFO] -SDK: $SDK"
geco "[INFO] -API_Level: $SDK"
geco "[INFO] -Platform: $SYSTEM_ARCH"

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

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

# Before installation
Expand Down

0 comments on commit 6f4cc43

Please sign in to comment.