We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b23a784 commit 2af87aaCopy full SHA for 2af87aa
.gitattributes
@@ -0,0 +1,2 @@
1
+# 所有文本文件强制使用 LF 换行符
2
+* text=auto eol=lf
app/src-tauri/src/tray.rs
@@ -30,7 +30,7 @@ pub fn create_tray<R: Runtime>(app: &tauri::AppHandle<R>) -> tauri::Result<()> {
30
let _ = TrayIconBuilder::with_id("tray")
31
.icon(app.default_window_icon().unwrap().clone())
32
.menu(&menu)
33
- .menu_on_left_click(menu_click_by_left)
+ .show_menu_on_left_click(menu_click_by_left)
34
.on_menu_event(move |app, event| match event.id.as_ref() {
35
"main_show" => open_main_window(app),
36
"endpoint_information" => {
0 commit comments