Files
arthur-os/bin/omarchy-update-confirm
2026-04-28 12:03:46 -04:00

19 lines
460 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Prompt for confirmation before starting an update
gum style --border normal --border-foreground 6 --padding "1 2" \
"Ready to update?" \
"" \
"• You cannot stop the update once you start!" \
"• Make sure you're connected to power or have a full battery" \
"" \
"What's new: https://github.com/basecamp/omarchy/releases"
echo
if ! gum confirm "Continue with update?"; then
echo "Update cancelled"
exit 1
fi