Skip to content

Commit 188f69c

Browse files
committed
🚧 trayIcon doing
1 parent 7a6e21e commit 188f69c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src-tauri/src/app/menu.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pub fn set_system_tray(app: &AppHandle) -> tauri::Result<()> {
2828
}
2929
_ => (),
3030
})
31+
.icon(app.default_window_icon().unwrap().clone())
3132
.build(app)?;
3233

3334
tray.set_icon_as_template(false)?;

src-tauri/tauri.conf.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
"security": {
88
"csp": null
99
},
10-
"trayIcon": {
11-
"iconPath": "png/icon_512.png",
12-
"iconAsTemplate": false,
13-
"id": "pake-tray"
14-
},
1510
"withGlobalTauri": true
1611
},
1712
"build": {

0 commit comments

Comments
 (0)