mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-21 15:53:21 +03:00
fix: add tray window cfg
This commit is contained in:
@@ -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},
|
||||||
|
|||||||
Reference in New Issue
Block a user