mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:39:54 +07:00
update: add update inside development mode
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
eb48f87f3a
commit
5d9022e916
@ -55,8 +55,14 @@ function backtitle() {
|
||||
###############################################################################
|
||||
# Auto Update Loader
|
||||
function arcUpdate() {
|
||||
if echo "${ARC_VERSION}" | grep -q "dev"; then
|
||||
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
||||
--infobox "Development Version detected." 0 0
|
||||
sleep 2
|
||||
DEV="true"
|
||||
fi
|
||||
# Automatic Update
|
||||
updateLoader
|
||||
[ "${DEV}" == "true" ] && updateLoader "${ARC_VERSION}" || updateLoader
|
||||
updateAddons
|
||||
updateConfigs
|
||||
updateLKMs
|
||||
|
Loading…
Reference in New Issue
Block a user