折腾了好久,看到这个 https://github.com/openai/codex/issues/31808
创建一个 Codex.ps1 文件,写入:
$dir = Join-Path (Get-AppxPackage Codex).InstallLocation "app" Start-Process -FilePath (Join-Path $dir "ChatGPT.exe") -ArgumentList "--no-sandbox" -WorkingDirectory $dir
然后在 powershell 里执行,终于可以打开了