mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:09:53 +07:00
arc: rewrite update menu
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
747b0fca36
commit
74d88856f7
@ -850,18 +850,18 @@ function updateMenu() {
|
||||
ARCBRANCH="$(readConfigKey "arc.branch" "${USER_CONFIG_FILE}")"
|
||||
NEXT="1"
|
||||
while true; do
|
||||
dialog --backtitle "$(backtitle)" --cancel-label "Exit" \
|
||||
dialog --backtitle "$(backtitle)" --colors --cancel-label "Exit" \
|
||||
--menu "Choose an Option" 0 0 0 \
|
||||
0 "Buildroot Branch: \Z1${ARCBRANCH}\Zn" \
|
||||
1 "Automated Update Mode" \
|
||||
2 "Full-Upgrade Loader (reflash)" \
|
||||
3 "Update Loader" \
|
||||
4 "Update Addons" \
|
||||
5 "Update Configs" \
|
||||
6 "Update LKMs" \
|
||||
7 "Update Modules" \
|
||||
8 "Update Patches" \
|
||||
9 "Update Custom Kernel" \
|
||||
0 "Buildroot Branch: ${ARCBRANCH}" \
|
||||
2 "Full-Upgrade Loader \Z1(reflash)\Zn" \
|
||||
3 "\Z4Advanced:\Zn Update Loader" \
|
||||
4 "\Z4Advanced:\Zn Update Addons" \
|
||||
5 "\Z4Advanced:\Zn Update Configs" \
|
||||
6 "\Z4Advanced:\Zn Update LKMs" \
|
||||
7 "\Z4Advanced:\Zn Update Modules" \
|
||||
8 "\Z4Advanced:\Zn Update Patches" \
|
||||
9 "\Z4Advanced:\Zn Update Custom Kernel" \
|
||||
2>"${TMP_PATH}/resp"
|
||||
[ $? -ne 0 ] && break
|
||||
case "$(cat ${TMP_PATH}/resp)" in
|
||||
|
Loading…
Reference in New Issue
Block a user