From 3c699aad2625d88ba15b7e012373499844da0b15 Mon Sep 17 00:00:00 2001 From: ASR-ASU <153063951+ASR-ASU@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:06:44 +0200 Subject: [PATCH] Enable wry linux-body feature flag for linux os target (#2856) --- packages/desktop/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index 3e6f8f39f..ef9dfa480 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -57,6 +57,14 @@ tao = { version = "0.26.1", features = ["rwh_05"] } [target.'cfg(unix)'.dependencies] signal-hook = "0.3.17" +[target.'cfg(target_os = "linux")'.dependencies] +wry = { version = "0.41.0", features = [ + "os-webview", + "protocol", + "drag-drop", + "linux-body" +] } + [target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies] global-hotkey = "0.5.0" rfd = { version = "0.14", default-features = false, features = ["xdg-portal", "tokio"] }