mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:49:52 +07:00
menu: simplify
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
6faa0a6632
commit
2049102139
@ -877,19 +877,15 @@ else
|
||||
[ "${BUILDDONE}" == "true" ] && NEXT="3" || NEXT="1"
|
||||
while true; do
|
||||
echo "= \"\Z4========== Main ==========\Zn \" " >"${TMP_PATH}/menu"
|
||||
if [ "${ARCPATCH}" == "true" ] && [ -z "ARC_KEY" ]; then
|
||||
echo "0 \"Decrypt Arc Patch \" " >>"${TMP_PATH}/menu"
|
||||
else
|
||||
if [ -z "${ARC_KEY}" ]; then
|
||||
echo "0 \"Decrypt Arc Patch \" " >>"${TMP_PATH}/menu"
|
||||
fi
|
||||
echo "1 \"Choose Model \" " >>"${TMP_PATH}/menu"
|
||||
if [ "${CONFDONE}" == "true" ]; then
|
||||
echo "2 \"Build Loader \" " >>"${TMP_PATH}/menu"
|
||||
fi
|
||||
if [ "${BUILDDONE}" == "true" ]; then
|
||||
echo "3 \"Boot Loader \" " >>"${TMP_PATH}/menu"
|
||||
fi
|
||||
if [ -z "${ARC_KEY}" ]; then
|
||||
echo "0 \"Decrypt Arc Patch \" " >>"${TMP_PATH}/menu"
|
||||
fi
|
||||
echo "1 \"Choose Model \" " >>"${TMP_PATH}/menu"
|
||||
if [ "${CONFDONE}" == "true" ]; then
|
||||
echo "2 \"Build Loader \" " >>"${TMP_PATH}/menu"
|
||||
fi
|
||||
if [ "${BUILDDONE}" == "true" ]; then
|
||||
echo "3 \"Boot Loader \" " >>"${TMP_PATH}/menu"
|
||||
fi
|
||||
echo "= \"\Z4========== Info ==========\Zn \" " >>"${TMP_PATH}/menu"
|
||||
echo "a \"Sysinfo \" " >>"${TMP_PATH}/menu"
|
||||
|
Loading…
Reference in New Issue
Block a user