diff --git a/src/odoo.rs b/src/odoo.rs index 2eae1df..345be32 100644 --- a/src/odoo.rs +++ b/src/odoo.rs @@ -102,13 +102,13 @@ impl Odoo { fn platform() -> (&'static str, &'static str) { let (platform, arch) = zed::current_platform(); match (platform, arch) { - (zed::Os::Linux, zed::Architecture::X8664) if cfg!(target_env = "musl") => ("alpine-x64", "tar.gz"), // TODO it will never find musl as target_env will always be "" at compilation. Check ldd? + (zed::Os::Linux, zed::Architecture::X8664) if cfg!(target_env = "musl") => ("alpine-x86_64", "tar.gz"), // TODO it will never find musl as target_env will always be "" at compilation. Check ldd? (zed::Os::Linux, zed::Architecture::Aarch64) if cfg!(target_env = "musl") => ("alpine-aarch64", "tar.gz"), - (zed::Os::Linux, zed::Architecture::X8664) => ("linux-x64", "tar.gz"), + (zed::Os::Linux, zed::Architecture::X8664) => ("linux-x86_64", "tar.gz"), (zed::Os::Linux, zed::Architecture::Aarch64) => ("linux-aarch64", "tar.gz"), - (zed::Os::Windows, zed::Architecture::X8664) => ("win32-x64", "zip"), + (zed::Os::Windows, zed::Architecture::X8664) => ("win32-x86_64", "zip"), (zed::Os::Windows, zed::Architecture::Aarch64) => ("win32-aarch64", "zip"), - (zed::Os::Mac, zed::Architecture::X8664) => ("darwin-x64", "tar.gz"), + (zed::Os::Mac, zed::Architecture::X8664) => ("darwin-x86_64", "tar.gz"), (zed::Os::Mac, zed::Architecture::Aarch64) => ("darwin-aarch64", "tar.gz"), (_os, arch) => { // fallback