mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
fix(macos): Always try to create webview, even if webkit runtime isn't detected correctly (#14276)
This commit is contained in:
5
.changes/macos-always-create-webview.md
Normal file
5
.changes/macos-always-create-webview.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch:bug
|
||||
---
|
||||
|
||||
Always try to create macOS WebKit webview, even if webkit runtime doesn't get detected correctly
|
||||
@@ -4535,7 +4535,11 @@ You may have it installed on another user account, but it is not available for t
|
||||
"#,
|
||||
);
|
||||
|
||||
return Err(Error::WebviewRuntimeNotInstalled);
|
||||
if cfg!(target_os = "macos") {
|
||||
log::warn!("WebKit webview runtime not found, attempting to create webview anyway.");
|
||||
} else {
|
||||
return Err(Error::WebviewRuntimeNotInstalled);
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused_mut)]
|
||||
|
||||
Reference in New Issue
Block a user