From 3230aa1c6cda404770b16ff1de3d965a208322e2 Mon Sep 17 00:00:00 2001 From: twlite <46562212+twlite@users.noreply.github.com> Date: Thu, 3 Oct 2024 22:55:53 +0545 Subject: [PATCH] fix: build issues --- src/browser_window.rs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/browser_window.rs b/src/browser_window.rs index 30982d1..9f7dcfd 100644 --- a/src/browser_window.rs +++ b/src/browser_window.rs @@ -225,25 +225,10 @@ impl BrowserWindow { webview = webview.with_hotkeys_zoom(hotkeys_zoom); } + #[cfg(target_os = "windows")] { - #[cfg(target_os = "windows")] use wry::WebViewBuilderExtWindows; - #[cfg(any(target_os = "macos", target_os = "ios",))] - use wry::WebViewBuilderExtDarwin; - - #[cfg(target_os = "android")] - use wry::WebViewBuilderExtAndroid; - - #[cfg(any( - target_os = "linux", - target_os = "dragonfly", - target_os = "freebsd", - target_os = "netbsd", - target_os = "openbsd", - ))] - use wry::WebViewBuilderExtUnix; - if let Some(theme) = options.theme { let theme = match theme { JsTheme::Light => wry::Theme::Light,