win, clipboard, debug

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-06-18 22:55:38 +08:00
parent ccd2cbd760
commit a903ec065b
3 changed files with 42 additions and 26 deletions

View File

@@ -419,6 +419,7 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
}
Some(data) = self.rx.recv() => {
if let Data::SwitchPermission{name, enabled} = &data {
#[cfg(windows)]
if name == "file" {
self.file_transfer_enabled = *enabled;
}