🚧 trayIcon doing
This commit is contained in:
@@ -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)?;
|
||||
|
||||
@@ -7,11 +7,6 @@
|
||||
"security": {
|
||||
"csp": null
|
||||
},
|
||||
"trayIcon": {
|
||||
"iconPath": "png/icon_512.png",
|
||||
"iconAsTemplate": false,
|
||||
"id": "pake-tray"
|
||||
},
|
||||
"withGlobalTauri": true
|
||||
},
|
||||
"build": {
|
||||
|
||||
Reference in New Issue
Block a user