openai-codex-bin -> openai-codex in menus (#3894)

This was done in a migration in 0588cc8e5b76c8ff4cdf1c08e8657983dac9e307 but the menu entry was never updated. So, installs after the migration will get the outdated version.

Added a new migration as well for those that installed after the
previous one.
This commit is contained in:
Diogo Ferreira 2025-12-16 15:50:45 +00:00 committed by GitHub
parent f578880bc8
commit fe9493bd86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -279,7 +279,7 @@ show_install_ai_menu() {
case $(menu "Install" "󱚤 Claude Code\n󱚤 Cursor CLI\n󱚤 Gemini\n󱚤 OpenAI Codex\n󱚤 LM Studio\n󱚤 Ollama\n󱚤 Crush\n󱚤 opencode") in
*Claude*) install "Claude Code" "claude-code" ;;
*Cursor*) install "Cursor CLI" "cursor-cli" ;;
*OpenAI*) install "OpenAI Codex" "openai-codex-bin" ;;
*OpenAI*) install "OpenAI Codex" "openai-codex" ;;
*Gemini*) install "Gemini" "gemini-cli" ;;
*Studio*) install "LM Studio" "lmstudio" ;;
*Ollama*) install "Ollama" $ollama_pkg ;;

6
migrations/1765884267.sh Normal file
View File

@ -0,0 +1,6 @@
echo "Change to openai-codex instead of openai-codex-bin"
if omarchy-pkg-present openai-codex-bin; then
omarchy-pkg-drop openai-codex-bin
omarchy-pkg-add openai-codex
fi