fix: add tray window cfg

This commit is contained in:
Kingtous 2022-11-04 19:56:17 +08:00
parent c4a2325d94
commit e323419306

View File

@ -6,7 +6,9 @@ use std::{
collections::HashMap,
sync::{Arc, Mutex, RwLock},
};
#[cfg(target_os = "windows")]
use trayicon::{MenuBuilder, TrayIconBuilder};
#[cfg(target_os = "windows")]
use winit::{
event::Event,
event_loop::{ControlFlow, EventLoop},