macos 在codex app中强开fast按钮,不需要chatgpt登录
- 内容介绍
- 文章标签
- 相关推荐
现在codex app越来越好用了,但是没有fast,所以写了个脚本
patch的版本要一样,其他的不保证可行
image568×382 24.6 KB
有三个命令
patch_codex_fast_mode.sh status
patch_codex_fast_mode.sh apply
patch_codex_fast_mode.sh restore
shell
#!/usr/bin/env bash
set -euo pipefail
PATH="${PATH}:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/local/sbin"
APP_PATH="${CODEX_APP_PATH:-/Applications/Codex.app}"
ASAR_PATH="${APP_PATH}/Contents/Resources/app.asar"
INFO_PLIST_PATH="${APP_PATH}/Contents/Info.plist"
PATCH_ROOT="${HOME}/.codex/patches/codex-fast-mode"
SIGN_IDENTITY="${CODEX_SIGN_IDENTITY:--}"
ASAR_CLI="${CODEX_ASAR_CLI:-@electron/asar}"
# Shareable patch version:
# - force-fast-ui-v2: force fast UI visibility, remove auth gating,
# keep native serviceTier request flow, and use the correct ASAR header hash.
PATCH_VERSION="force-fast-ui-v2"
PATCH_SUMMARY="Force fast
现在codex app越来越好用了,但是没有fast,所以写了个脚本
patch的版本要一样,其他的不保证可行
image568×382 24.6 KB
有三个命令
patch_codex_fast_mode.sh status
patch_codex_fast_mode.sh apply
patch_codex_fast_mode.sh restore
shell
#!/usr/bin/env bash
set -euo pipefail
PATH="${PATH}:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/local/sbin"
APP_PATH="${CODEX_APP_PATH:-/Applications/Codex.app}"
ASAR_PATH="${APP_PATH}/Contents/Resources/app.asar"
INFO_PLIST_PATH="${APP_PATH}/Contents/Info.plist"
PATCH_ROOT="${HOME}/.codex/patches/codex-fast-mode"
SIGN_IDENTITY="${CODEX_SIGN_IDENTITY:--}"
ASAR_CLI="${CODEX_ASAR_CLI:-@electron/asar}"
# Shareable patch version:
# - force-fast-ui-v2: force fast UI visibility, remove auth gating,
# keep native serviceTier request flow, and use the correct ASAR header hash.
PATCH_VERSION="force-fast-ui-v2"
PATCH_SUMMARY="Force fast

