fix two tray (#193)

Co-authored-by: 荣耀的捍卫者 <1250839773@qq.com>
This commit is contained in:
RiceCake
2024-07-27 23:57:04 +08:00
committed by GitHub
parent 5451b52daa
commit d5eef25ad1
2 changed files with 4 additions and 5 deletions

View File

@@ -381,6 +381,10 @@ pub fn run() {
toggle_window_visibility(app);
}
})
.icon(tauri::image::Image::from_bytes(include_bytes!(
"../icons/icon.png"
))?)
.icon_as_template(false)
.build(app)?;
Ok(())

View File

@@ -21,11 +21,6 @@
"identifier": "com.kkrainbow.easytier",
"plugins": {},
"app": {
"trayIcon": {
"iconPath": "icons/icon.ico",
"menuOnLeftClick": true,
"iconAsTemplate": true
},
"windows": [
{
"title": "easytier-gui",