feat: Auto updator

This commit is contained in:
2026-06-20 13:24:52 +05:30
parent e29dfd27b5
commit bf1529b354
8 changed files with 200 additions and 13 deletions

View File

@@ -83,6 +83,14 @@ for script in "${SCRIPTS[@]}"; do
exit 1
fi
;;
up)
if [ -f "$BOOTSTRAP_DIR/commands/up.sh" ]; then
. "$BOOTSTRAP_DIR/commands/up.sh" "$@"
else
log_error "Update command script not found."
exit 1
fi
;;
bye)
if [ -f "$BOOTSTRAP_DIR/commands/uninstall.sh" ]; then
. "$BOOTSTRAP_DIR/commands/uninstall.sh"