Only apply subsystem to final binary, not cdylibs (#5002)

This commit is contained in:
Evan Almloff authored and GitHub committed 2025-11-21 10:12:49 -08:00
1 parent 75d9ece3af
commit 84efc00757
10 files changed
+177 -60

No files matched your search

+8
View File
@@ -442,6 +442,14 @@ impl WebviewInstance {
None
};
#[cfg(target_os = "windows")]
{
use wry::WebViewBuilderExtWindows;
if let Some(additional_windows_args) = &cfg.additional_windows_args {
webview = webview.with_additional_browser_args(additional_windows_args);
}
}
#[cfg(any(
target_os = "windows",
target_os = "macos",