Make Yes the default
This commit is contained in:
1 parent
dd3b64ef7f
commit
58ecda3b80
1 file changed
+1
-1
@@ -8,7 +8,7 @@ gum style --border normal --border-foreground 6 --padding "1 2" \
|
|||||||
"• You cannot stop the update once you start!" \
|
"• You cannot stop the update once you start!" \
|
||||||
"• Make sure you're connected to power or have a full battery"
|
"• Make sure you're connected to power or have a full battery"
|
||||||
|
|
||||||
if ! gum confirm --default=false "Continue with update?"; then
|
if ! gum confirm "Continue with update?"; then
|
||||||
echo "Update cancelled"
|
echo "Update cancelled"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user