acp: Fix download path for Codex on ARM Windows (#44395)
Ben Brandt
created
Both windows paths use .zip, not .tar.gz
Closes #44378
Release Notes:
- acp: Fix codex-acp download path for ARM Windows targets
Change summary
crates/project/src/agent_server_store.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Detailed changes
@@ -1501,8 +1501,8 @@ fn get_platform_info() -> Option<(&'static str, &'static str, &'static str)> {
return None;
};
- // Only Windows x86_64 uses .zip in release assets
- let ext = if cfg!(target_os = "windows") && cfg!(target_arch = "x86_64") {
+ // Windows uses .zip in release assets
+ let ext = if cfg!(target_os = "windows") {
"zip"
} else {
"tar.gz"