Skip to content

Commit e84efd2

Browse files
committed
更新版本号至1.1.5,修复托盘文案显示错误问题
1 parent 271f7d5 commit e84efd2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src-tauri/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,10 @@ fn main() {
9797
.build()?;
9898

9999
let icon = app.default_window_icon().cloned();
100+
let tooltip = if is_log_zh() { "BPM Sniffer 正在运行" } else { "BPM Sniffer is running" };
100101
let mut tray_builder = TrayIconBuilder::new()
101102
.menu(&menu)
103+
.tooltip(tooltip)
102104
.on_menu_event(|app, event| {
103105
match event.id().as_ref() {
104106
"logs" => {

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "BPM Sniffer",
4-
"version": "1.1.4",
4+
"version": "1.1.5",
55
"identifier": "com.renlu.bpm-sniffer",
66
"build": {
77
"beforeBuildCommand": "pnpm web:build",

0 commit comments

Comments
 (0)