Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(windows, linux): Add with_extension_path to WebviewBuilder #11628

Merged
merged 8 commits into from
Nov 12, 2024

Conversation

SpikeHD
Copy link
Contributor

@SpikeHD SpikeHD commented Nov 9, 2024

Now that tauri-apps/wry#1403 has been merged, it's time to bring it to the Tauri side!

Adds a function to the WebviewBuilder that sets the extension path. On Windows, the directory should contain unpacked Chrome extensions. On Linux, it should contain compiled .so extensions.

Copy link
Contributor

github-actions bot commented Nov 9, 2024

Package Changes Through 3c495ed

There are 6 changes which include tauri with patch, tauri-cli with patch, tauri-runtime with patch, tauri-runtime-wry with patch, tauri-utils with patch, @tauri-apps/cli with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.1.0 2.1.1
tauri-bundler 2.1.0 2.1.1
tauri-runtime 2.2.0 2.2.1
tauri-runtime-wry 2.2.0 2.2.1
tauri-codegen 2.0.3 2.0.4
tauri-macros 2.0.3 2.0.4
tauri-plugin 2.0.3 2.0.4
tauri-build 2.0.3 2.0.4
tauri 2.1.1 2.1.2
@tauri-apps/cli 2.1.0 2.1.1
tauri-cli 2.1.0 2.1.1

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

crates/tauri-runtime/src/webview.rs Outdated Show resolved Hide resolved
crates/tauri-runtime/src/webview.rs Outdated Show resolved Hide resolved
crates/tauri-utils/src/config.rs Outdated Show resolved Hide resolved
crates/tauri/src/webview/mod.rs Outdated Show resolved Hide resolved
crates/tauri/src/webview/mod.rs Outdated Show resolved Hide resolved
crates/tauri/src/webview/webview_window.rs Outdated Show resolved Hide resolved
crates/tauri/src/webview/webview_window.rs Outdated Show resolved Hide resolved
.changes/extension-path.md Outdated Show resolved Hide resolved
@SpikeHD
Copy link
Contributor Author

SpikeHD commented Nov 12, 2024

Should be fixed now 👍

crates/tauri-runtime-wry/src/lib.rs Outdated Show resolved Hide resolved
crates/tauri-runtime/src/webview.rs Outdated Show resolved Hide resolved
amrbashir
amrbashir previously approved these changes Nov 12, 2024
Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@amrbashir amrbashir merged commit dc4d794 into tauri-apps:dev Nov 12, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants