File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ TYPE="Package" #Specify (Package / Extension)
1010
1111AUTHOR=" 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
1515SHORTDESC=" Install Android11 Arm translation extracted from WSA.(Only for x86_64)" # Provide a short description about this package/extension
1616
Original file line number Diff line number Diff line change 66get_base_dir # Returns execution directory path in $BD variable
77# get_net_stat
88check_compat 7.2.22
9+ HOUDINI_ARCH=x86_64
10+ HOUDINI_API=30
911# ####--- Import Functions ---#####
1012
1113# Ensure compatible GearLock version
3133 SYSTEM_ARCH=x86
3234fi
3335
34- geco " [INFO] -SDK : $SDK "
36+ geco " [INFO] -API_Level : $SDK "
3537geco " [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
4042fi
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
4547fi
4648
4749# Before installation
You can’t perform that action at this time.
0 commit comments