fix: add tray window cfg
This commit is contained in:
parent
c4a2325d94
commit
e323419306
@ -6,7 +6,9 @@ use std::{
|
|||||||
collections::HashMap,
|
collections::HashMap,
|
||||||
sync::{Arc, Mutex, RwLock},
|
sync::{Arc, Mutex, RwLock},
|
||||||
};
|
};
|
||||||
|
#[cfg(target_os = "windows")]
|
||||||
use trayicon::{MenuBuilder, TrayIconBuilder};
|
use trayicon::{MenuBuilder, TrayIconBuilder};
|
||||||
|
#[cfg(target_os = "windows")]
|
||||||
use winit::{
|
use winit::{
|
||||||
event::Event,
|
event::Event,
|
||||||
event_loop::{ControlFlow, EventLoop},
|
event_loop::{ControlFlow, EventLoop},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user