mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 04:39:52 +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
|
# Auto Update Loader
|
||||||
function arcUpdate() {
|
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
|
# Automatic Update
|
||||||
updateLoader
|
[ "${DEV}" == "true" ] && updateLoader "${ARC_VERSION}" || updateLoader
|
||||||
updateAddons
|
updateAddons
|
||||||
updateConfigs
|
updateConfigs
|
||||||
updateLKMs
|
updateLKMs
|
||||||
|
Loading…
Reference in New Issue
Block a user