try fix clipboard, flutter version

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-06-20 00:57:01 +08:00
1 parent 22b0b54527
commit ccd2cbd760
14 files changed
+136 -166

No files matched your search

+2
View File
@@ -122,6 +122,8 @@ pub fn core_main() -> Option<Vec<String>> {
#[cfg(not(any(target_os = "android", target_os = "ios")))]
init_plugins(&args);
if args.is_empty() {
#[cfg(windows)]
clipboard::ContextSend::enable(true, false, false);
std::thread::spawn(move || crate::start_server(false));
} else {
#[cfg(windows)]