🐛 fix: correct asset name and bump version to 0.5.1

detect_arch was returning "x86_64-linux" but CI uploads assets as
"tmuxido-x86_64-linux", causing 404 on self-update. Also bumps
Cargo.toml to 0.5.1 which was missing from the hotfix tag.
This commit is contained in:
2026-03-01 03:31:10 -03:00
parent a592c99375
commit 42bdc1d409
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ pub fn current_version() -> &'static str {
fn detect_arch() -> Result<&'static str> {
let arch = std::env::consts::ARCH;
match arch {
"x86_64" => Ok("x86_64-linux"),
"aarch64" => Ok("aarch64-linux"),
"x86_64" => Ok("tmuxido-x86_64-linux"),
"aarch64" => Ok("tmuxido-aarch64-linux"),
_ => Err(anyhow::anyhow!("Unsupported architecture: {}", arch)),
}
}