Skip to content

Commit

Permalink
fix: change file
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Nov 9, 2024
1 parent d2f915a commit 2197374
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .changes/extension-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"tauri": "patch:feat"
"tauri-cli": "patch:feat"
"tauri-runtime": "patch:feat"
"tauri-runtime-wry": "patch:feat"
"tauri-utils": "patch:feat"
---

Add `with_extension_path` to `WebviewBuilder` for Linux and Windows.
2 changes: 1 addition & 1 deletion crates/tauri-runtime-wry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4283,7 +4283,7 @@ fn create_webview<T: UserEvent>(
.with_browser_extensions_enabled(webview_attributes.browser_extensions_enabled);
}

#[cfg(any(windows,target_os = "linux"))]
#[cfg(any(windows, target_os = "linux"))]
{
if let Some(path) = &webview_attributes.extension_path {
webview_builder = webview_builder.with_extension_path(path);
Expand Down

0 comments on commit 2197374

Please sign in to comment.