新增 macOS 端 Codex 启动代理配置与连通性测试,修复 Windows 便携版回滚在文件被占用时半截删除安装目录导致启动报错
os error 14001的问题,并将桌面运行时升级至 Tauri 2.13。
Add macOS Codex launch proxy controls and connectivity testing, quarantine failed Windows portable installs atomically on rollback to prevent partial payload deletion andos error 14001launch failures, and upgrade the desktop runtime to Tauri 2.13.
✨ 亮点 · Highlights
- macOS 端 Codex 启动代理支持(#518、#520,感谢 @baiyea):设置页现支持在 macOS 上配置、一键测试(
HEAD https://chatgpt.com/robots.txt)并保存 Codex 启动代理,在冷启动、更新后重拉起及主题切换重启时自动生效。针对socks5/socks5h代理仅写入ALL_PROXY,避免内置 Node 24 因非 HTTP 协议的HTTP(S)_PROXY异常退出,同时让 Chromium、curl与内置codexCLI 正常走 SOCKS5h;针对http/https代理自动注入NODE_USE_ENV_PROXY=1,清理继承的大小写冲突代理变量与陈旧CODEX_SPARKLE_ENABLED,并拦截DYLD_*、HOME等受限环境变量。
Extend Codex launch proxy configuration, one-click connectivity testing (HEAD https://chatgpt.com/robots.txt), and clear controls to macOS across cold launches, post-update relaunches, and theme restarts (thanks to @baiyea). Quick-savedsocks5/socks5hproxies writeALL_PROXYonly so bundled Node 24 never aborts on non-HTTPHTTP(S)_PROXYschemes while Chromium,curl, and the bundledcodexCLI route via SOCKS5h;http/httpsproxies injectNODE_USE_ENV_PROXY=1, clear conflicting inherited proxy variables and staleCODEX_SPARKLE_ENABLED, and block restricted macOS environment keys (DYLD_*,HOME,TMPDIR,SHELL).
🐛 修复 · Fixes
- Windows 便携版回滚原子隔离防半删损坏(#526、#527,感谢 @Sprinkler126):此前便携版在安装后健康自检失败触发回滚时,直接原地逐文件删除新安装目录,若仍有存活的
ChatGPT.exe占用句柄,会先删掉排在前面的私有并行程序集清单app\<chromium版本>.manifest再因os error 5中断,留下半残目录导致后续启动报os error 14001(并行配置不正确)且卡死启动恢复(ERROR_DIR_NOT_EMPTY)。现改为先通过同级原子重命名将失败目录整体隔离为Codex.failed-<id>再还原备份(若备份还原失败则撤回隔离以保留原目录,若句柄仍被占用则完整保留现有文件等待下次启动恢复),彻底消除半删状态。
Quarantine failed Windows portable payloads via a single sibling directory rename (Codex.failed-<id>) before restoring the rollback backup instead of deleting the live install root in place (thanks to @Sprinkler126). When a runningChatGPT.exestill holds a file lock, rollback now fails cleanly without deletingapp\<chromium-version>.manifestor corrupting side-by-side activation (os error 14001), undoes the quarantine if backup restoration fails, and aligns startup transaction recovery (install_tx) with the same atomic helper so leftover directories no longer wedge recovery withERROR_DIR_NOT_EMPTY (145). - Tauri 2.13 升级与依赖安全维护(#519、#520、#521、#522、#523、#524、#525、#528):将前后端 Tauri 核心包与 Windows NSIS 安装器多语言模板同步升级至
2.13(并将 macOS 安装包最低系统版本声明对齐至11.0),修复官网构建脚本的 HTML 标签清理逻辑,同时完成vite、vitest、@types/react、zip、cross-spawn及curve25519-dalek等依赖的安全与维护更新。
Upgrade the Tauri JS/Rust runtime and custom multilingual Windows NSIS installer templates to2.13(aligning the macOS bundleLSMinimumSystemVersionto11.0), harden HTML tag sanitization in the website data pipeline, and updatevite,vitest,@types/react,zip,cross-spawn, andcurve25519-dalek.
📦 安装与升级 · Install & Upgrade
已经安装? 打开应用即可收到本次更新,macOS 只下载版本间的增量,校验失败自动回滚。
Already installed? The app offers this update in-app; macOS pulls only the delta, with automatic rollback.
| 平台 · Platform | 下载 · Download(国内直连 · China-reachable) |
|---|---|
| macOS · Apple Silicon | CodexAppManager_aarch64.dmg |
| macOS · Intel | CodexAppManager_x86_64.dmg |
| Windows · x64 | CodexAppManager_x64-setup.exe |
| Windows · ARM64 | CodexAppManager_arm64-setup.exe |
Windows 签名状态: 本版安装器没有 Authenticode 代码签名,首次运行可能出现 SmartScreen 提示。.sig / latest.json 的 Tauri updater 字节签名用于验证更新文件,不代表 Windows 发行者身份。SignPath Foundation 申请已不再推进,项目改为采用付费云 HSM 证书;证书配置完成前发布保持未签名。参见 代码签名政策与 Windows signing and verification。
Windows signing status: This release's installers are not Authenticode-signed, so SmartScreen may warn on first run. Tauri updater signatures in .sig / latest.json verify update files and do not establish Windows publisher identity. The SignPath Foundation application is no longer being pursued; the project is moving to a paid cloud-HSM certificate, and releases stay unsigned until one is configured. See the code signing policy and Windows signing and verification.
隐私 · Privacy: 隐私政策 · Privacy policy
核验下载: 本页 Assets 带有 SHA256SUMS;Windows 用 Get-FileHash .\CodexAppManager_x64-setup.exe -Algorithm SHA256 或替换为 ARM64 文件名,macOS 用 shasum -a 256 CodexAppManager_aarch64.dmg,再与 SHA256SUMS 比对。
Verify downloads: This release includes SHA256SUMS in Assets; on Windows run Get-FileHash .\CodexAppManager_x64-setup.exe -Algorithm SHA256 or swap in the ARM64 filename, and on macOS run shasum -a 256 CodexAppManager_aarch64.dmg, then compare with SHA256SUMS.
# macOS · Homebrew
brew install --cask wangnov/tap/codex-app-manager镜像直链恒指向最新版本;如需本页对应的历史版本,请使用下方 Assets。
.app.tar.gz/.sig/latest.json是自动更新器的工件,手动安装请选.dmg/.exe。
Mirror permalinks always resolve to the latest release; for this exact version use the assets below..app.tar.gz/.sig/latest.jsonbelong to the auto-updater; pick the.dmg/.exefor manual installs.
What's Changed
- feat(macos): support Codex launch proxies by @Wangnov in #520
- fix(website): replace single-pass tag regex and refresh site data to 0.5.20 by @Wangnov in #519
- chore(deps): bump zip from 9.8.2 to 9.9.0 in the cargo-minor-patch group by @dependabot[bot] in #525
- chore(deps-dev): bump vitest from 5.1.1 to 5.1.2 in /cloudflare/manager-download-router in the npm-minor-patch group by @dependabot[bot] in #522
- chore(deps-dev): bump vite from 8.3.8 to 8.4.0 in /website in the npm-minor-patch group by @dependabot[bot] in #523
- chore(deps-dev): bump @types/react from 19.3.0 to 19.3.3 in the react group by @dependabot[bot] in #521
- chore(deps): upgrade Tauri to 2.13 and root npm minor/patch packages by @Wangnov in #528
- fix(portable): quarantine a failed payload instead of partially deleting it by @Sprinkler126 in #527
- chore(release): v0.5.21 by @Wangnov in #530
New Contributors
- @Sprinkler126 made their first contribution in #527
Full Changelog: v0.5.20...v0.5.21