Files
omarchy/bin/omarchy-update-confirm
David Heinemeier Hansson 58ecda3b80 Make Yes the default
2025-10-31 14:34:08 +01:00

15 lines
331 B
Bash
Executable File

#!/bin/bash
set -e
gum style --border normal --border-foreground 6 --padding "1 2" \
"Ready to update Omarchy?" \
"" \
"• You cannot stop the update once you start!" \
"• Make sure you're connected to power or have a full battery"
if ! gum confirm "Continue with update?"; then
echo "Update cancelled"
exit 0
fi