chore: update

This commit is contained in:
huzibaca 2024-10-25 14:13:30 +08:00
parent a1c72fe780
commit ba2aa9d6e7
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -177,6 +177,8 @@ impl Tray {
if use_custom_icon {
let _ = tray.set_icon_as_template(false);
let _ = tray.set_icon(Some(tauri::image::Image::from_bytes(&indication_icon)?));
} else {
let _ = tray.set_icon_as_template(true);
}
}