Skip to content

Commit 75b4f73

Browse files
committed
chore: update version to 0.2.1, set dock visibility silently, and enable icon as template for tray
1 parent f607c1d commit 75b4f73

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "llm-gate",
3-
"version": "0.1.17",
3+
"version": "0.2.1",
44
"private": true,
55
"type": "module",
66
"homepage": "https://github.com/xuanzhi33/LLM-Gate",

src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn run() {
3333
#[cfg(target_os = "macos")]
3434
{
3535
let app = window.app_handle();
36-
app.set_dock_visibility(false);
36+
let _ = app.set_dock_visibility(false);
3737
}
3838
}
3939
})

src/utils/tray.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ async function setupTray(t: ReturnType<typeof useI18n>['t']) {
6565
}
6666
},
6767
showMenuOnLeftClick: false,
68+
iconAsTemplate: true,
6869
icon: trayImage,
6970
})
7071
}

0 commit comments

Comments
 (0)