mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
fix code mode host resource installation
This commit is contained in:
@@ -280,9 +280,9 @@ def _validate_codex_package_layout(package_dir: Path, package_archive: Path) ->
|
||||
package_binary = package_dir / "bin" / runtime_binary_name()
|
||||
if not package_binary.is_file():
|
||||
missing_entries.append(str(Path("bin") / runtime_binary_name()))
|
||||
code_mode_host = package_dir / "bin" / runtime_code_mode_host_name()
|
||||
code_mode_host = package_dir / "codex-resources" / runtime_code_mode_host_name()
|
||||
if not code_mode_host.is_file():
|
||||
missing_entries.append(str(Path("bin") / runtime_code_mode_host_name()))
|
||||
missing_entries.append(str(Path("codex-resources") / runtime_code_mode_host_name()))
|
||||
if missing_entries:
|
||||
missing = ", ".join(missing_entries)
|
||||
raise RuntimeError(f"Missing Codex package layout entries in {package_archive}: {missing}")
|
||||
|
||||
Reference in New Issue
Block a user