Only apply subsystem to final binary, not cdylibs (#5002)
This commit is contained in:
1 parent
75d9ece3af
commit
84efc00757
10 files changed
+177
-60
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user