codex: adjust pre-install to work around PowerShell 5.x issue (#7340)

Fix codex pre-install
This commit is contained in:
Nathan G 2025-11-10 22:52:34 -05:00 committed by GitHub
parent 1b5a080aa6
commit b23ac8f0aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@
"hash": "cd879b170ba827c59a44a530a09fae0d133f146c40dc179c6b52c5455b52c04f"
}
},
"pre_install": "Rename-Item \"$dir\\codex-*.exe\" \"$dir\\codex.exe\"",
"pre_install": "Get-Item \"$dir\\codex-*.exe\" | Rename-Item -NewName \"$dir\\codex.exe\"",
"bin": [
[
"codex.exe",