Skip to content

Commit

Permalink
🚧 trayIcon doing
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Dec 10, 2024
1 parent 7a6e21e commit 188f69c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/app/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub fn set_system_tray(app: &AppHandle) -> tauri::Result<()> {
}
_ => (),
})
.icon(app.default_window_icon().unwrap().clone())
.build(app)?;

tray.set_icon_as_template(false)?;
Expand Down
5 changes: 0 additions & 5 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
"security": {
"csp": null
},
"trayIcon": {
"iconPath": "png/icon_512.png",
"iconAsTemplate": false,
"id": "pake-tray"
},
"withGlobalTauri": true
},
"build": {
Expand Down

0 comments on commit 188f69c

Please sign in to comment.