The update prompt speaks Chinese and points What's new at the OmarchyCN releases page; the Wi-Fi, update, keybindings, dictation, and default-agent first-run notices follow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
19 lines
435 B
Bash
Executable File
19 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Prompt for confirmation before starting an update
|
|
|
|
gum style --border normal --padding "1 2" \
|
|
"准备好更新了吗?" \
|
|
"" \
|
|
"• 更新一旦开始就不能中止!" \
|
|
"• 请确保已接通电源或电量充足" \
|
|
"" \
|
|
"更新内容: https://git.zacharyzhang.com/ZacharyZhang-NY/omarchycn/releases"
|
|
|
|
echo
|
|
|
|
if ! gum confirm "继续更新?"; then
|
|
echo "已取消更新"
|
|
exit 1
|
|
fi
|