mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-09-16 16:24:32 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eca430ccc6 |
Generated
+1
-1
@@ -59,7 +59,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "claude-code-usage-bubble"
|
name = "claude-code-usage-bubble"
|
||||||
version = "0.1.6"
|
version = "0.1.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"dirs",
|
"dirs",
|
||||||
"embed-resource",
|
"embed-resource",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "claude-code-usage-bubble"
|
name = "claude-code-usage-bubble"
|
||||||
version = "0.1.6"
|
version = "0.1.7"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
description = "Floating bubble showing Claude Code and Codex usage on Windows"
|
description = "Floating bubble showing Claude Code and Codex usage on Windows"
|
||||||
|
|||||||
+6
-2
@@ -1067,9 +1067,13 @@ fn version_action_label(snap: &ContextMenuSnapshot) -> String {
|
|||||||
UpdateStatus::Applying => snap.strings.applying_update.clone(),
|
UpdateStatus::Applying => snap.strings.applying_update.clone(),
|
||||||
UpdateStatus::Failed => snap.strings.update_failed.clone(),
|
UpdateStatus::Failed => snap.strings.update_failed.clone(),
|
||||||
};
|
};
|
||||||
|
// Append the running binary's version so the user can see what
|
||||||
|
// they are on without opening an About dialog. Using middle-dot as
|
||||||
|
// the separator matches the bubble's countdown formatting.
|
||||||
|
let with_version = format!("{base} \u{00b7} v{}", env!("CARGO_PKG_VERSION"));
|
||||||
match snap.install_channel {
|
match snap.install_channel {
|
||||||
InstallChannel::Winget => format!("{base} ({})", snap.strings.update_via_winget),
|
InstallChannel::Winget => format!("{with_version} ({})", snap.strings.update_via_winget),
|
||||||
InstallChannel::Portable => base,
|
InstallChannel::Portable => with_version,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user