From ac8541e96933082fc6a92f2c728947c47db21ee7 Mon Sep 17 00:00:00 2001 From: natsumerin <64072399+natsumerinchan@users.noreply.github.com> Date: Fri, 15 Jul 2022 14:42:16 +0800 Subject: [PATCH 1/5] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a80c3f9..f3e59e3 100644 --- a/install.sh +++ b/install.sh @@ -35,7 +35,7 @@ geco "[INFO] -SDK: $SDK" geco "[INFO] -Platform: $SYSTEM_ARCH" # Ensure Android version -if test "$SDK" != "30"; then +if test "$SDK" < "30"; then geco "\n[!!!] This package only supports Android11." && exit 101 fi From 0b6a5ca7671e5feeb909ee22f4b7b5dcc3e6f1a6 Mon Sep 17 00:00:00 2001 From: natsumerin <64072399+natsumerinchan@users.noreply.github.com> Date: Fri, 15 Jul 2022 14:46:07 +0800 Subject: [PATCH 2/5] Update install.sh --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index f3e59e3..3cbd961 100644 --- a/install.sh +++ b/install.sh @@ -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 @@ -35,12 +37,12 @@ geco "[INFO] -SDK: $SDK" geco "[INFO] -Platform: $SYSTEM_ARCH" # Ensure Android version -if test "$SDK" < "30"; then +if test "$SDK" < "$HOUDINI_API"; then geco "\n[!!!] This package only supports Android11." && exit 101 fi # Ensure Device Architecture -if test "$SYSTEM_ARCH" != "x86_64"; then +if test "$SYSTEM_ARCH" != "$HOUDINI_ARCH"; then geco "\n[!!!] Unsupport Platform: -$SYSTEM_ARCH ;This package only supports x86_64 devices!" && exit 101 fi From efce3f3bb0ac37b92e234fd0e26661df7925fa7f Mon Sep 17 00:00:00 2001 From: natsumerin <64072399+natsumerinchan@users.noreply.github.com> Date: Fri, 15 Jul 2022 14:46:48 +0800 Subject: [PATCH 3/5] Update !zygote.sh --- !zygote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/!zygote.sh b/!zygote.sh index 1e3c63f..e448791 100644 --- a/!zygote.sh +++ b/!zygote.sh @@ -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 From f25260750d4d3bc65324a5f2a7e748c7f69ecfc2 Mon Sep 17 00:00:00 2001 From: natsumerin <64072399+natsumerinchan@users.noreply.github.com> Date: Fri, 15 Jul 2022 14:57:28 +0800 Subject: [PATCH 4/5] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3cbd961..7e570b2 100644 --- a/install.sh +++ b/install.sh @@ -37,7 +37,7 @@ geco "[INFO] -SDK: $SDK" geco "[INFO] -Platform: $SYSTEM_ARCH" # Ensure Android version -if test "$SDK" < "$HOUDINI_API"; then +if test "$SDK" -lt "$HOUDINI_API"; then geco "\n[!!!] This package only supports Android11." && exit 101 fi From 2b3c81b61e4bca7095a6b5f2dd345a1a3b483d1c Mon Sep 17 00:00:00 2001 From: natsumerin <64072399+natsumerinchan@users.noreply.github.com> Date: Fri, 15 Jul 2022 15:22:16 +0800 Subject: [PATCH 5/5] Update install.sh --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 7e570b2..fffc734 100644 --- a/install.sh +++ b/install.sh @@ -33,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" -lt "$HOUDINI_API"; then - geco "\n[!!!] This package only supports Android11." && exit 101 + geco "\n[!!!] API_Level could not lower than $HOUDINI_API." && exit 101 fi # Ensure Device Architecture if test "$SYSTEM_ARCH" != "$HOUDINI_ARCH"; then - geco "\n[!!!] Unsupport Platform: -$SYSTEM_ARCH ;This package only supports x86_64 devices!" && exit 101 + geco "\n[!!!] This package only supports $HOUDINI_ARCH devices!" && exit 101 fi # Before installation