Add x86 (32bit) support
pass 3 to select it with arguments
diff --git a/README.md b/README.md
index 185a760..ef07993 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@
- 1 = x86_64 ABI **default options**
- 2 = arm64-v8a ABI
+ - 3 = x86 ABI
## Included Apps:
diff --git a/update.sh b/update.sh
index bd40554..c76ee77 100755
--- a/update.sh
+++ b/update.sh
@@ -37,7 +37,8 @@
echo -e ${YELLOW}"(default is 'ABI:x86_64 & ABI2:x86')"
TMOUT=10
options=("ABI:x86_64 & ABI2:x86"
- "ABI:arm64-v8a & ABI2:armeabi-v7a")
+ "ABI:arm64-v8a & ABI2:armeabi-v7a"
+ "ABI:x86")
echo -e "Timeout in $TMOUT sec."${NC}
select opt in "${options[@]}"
do
@@ -54,6 +55,11 @@
SUB_ARCH="armeabi-v7a"
break
;;
+ "ABI:x86")
+ echo "you chose choice $REPLY which is $opt"
+ MAIN_ARCH="x86"
+ break
+ ;;
*) echo "invalid option $REPLY";;
esac
done
@@ -73,6 +79,10 @@
MAIN_ARCH="arm64-v8a"
SUB_ARCH="armeabi-v7a"
fi
+if [ "$1" == "3" ]; then
+ echo "ABI:x86 & ABI2:x86 was preselected"
+ MAIN_ARCH="x86"
+fi
addCopy() {
addition=""