Direct pacman -Syu trips the update pacman guard once real upgrades exist; the catalog installer now runs the upstream update pipeline interactively and fails fast with instructions when non-interactive. omarchy-cn-kimi-install gains its executable bit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
16 lines
360 B
Bash
Executable File
16 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
# omarchy:summary=Install Kimi Code with the official installer script
|
|
# omarchy:examples=omarchycn kimi install
|
|
|
|
set -euo pipefail
|
|
|
|
if omarchy-cmd-present kimi; then
|
|
echo "Kimi Code 已安装"
|
|
exit 0
|
|
fi
|
|
|
|
installer=$(mktemp)
|
|
trap 'rm -f "$installer"' EXIT
|
|
curl -fsSL https://code.kimi.com/kimi-code/install.sh -o "$installer"
|
|
bash "$installer"
|