Skip to content

Commit 2d087ee

Browse files
fix: fix incorrect label passed to ipc protocol (#11268)
* fix: fix incorrect label passed to `ipc` protocol closes #11171 * update lock file * Update .changes/incorrect-label-linux-command.md Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> * Update .changes/incorrect-label-linux-protocol.md Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> * clippy * try wry from dev * fix macos build * fix ios build * update wry * Update .changes/incorrect-label-linux-command.md * wry 0.46 --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
1 parent 069c05e commit 2d087ee

File tree

13 files changed

+257
-141
lines changed

13 files changed

+257
-141
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri": "patch:bug"
3+
"tauri-runtime": "minor:bug"
4+
"tauri-runtime-wry": "minor:bug"
5+
---
6+
7+
On Linux, fix commands, that use `Webview` or `WebviewWindow` as an argument, receiving an incorrect webview when using multi webviews.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri": "minor:bug"
3+
"tauri-runtime": "minor:bug"
4+
"tauri-runtime-wry": "minor:bug"
5+
---
6+
7+
On Linux, fix events only emitted to first webview only when using multi webviews.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri": "minor:bug"
3+
"tauri-runtime": "minor:bug"
4+
"tauri-runtime-wry": "minor:bug"
5+
---
6+
7+
On Linux, fix custom protocols receiving an incorrect webview label when using multi webviews

Cargo.lock

+107-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/tauri-runtime-wry/Cargo.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustc-args = ["--cfg", "docsrs"]
1717
rustdoc-args = ["--cfg", "docsrs"]
1818

1919
[dependencies]
20-
wry = { version = "0.44.0", default-features = false, features = [
20+
wry = { version = "0.46", default-features = false, features = [
2121
"drag-drop",
2222
"protocol",
2323
"os-webview",
@@ -45,8 +45,10 @@ gtk = { version = "0.18", features = ["v3_24"] }
4545
webkit2gtk = { version = "=2.0", features = ["v2_40"] }
4646
percent-encoding = "2.1"
4747

48-
[target.'cfg(target_os = "macos")'.dependencies]
48+
[target.'cfg(target_vendor = "apple")'.dependencies]
4949
objc2 = "0.5.2"
50+
51+
[target.'cfg(target_os = "macos")'.dependencies]
5052
objc2-foundation = { version = "0.2.2", features = [] }
5153
objc2-app-kit = { version = "0.2.2", features = [
5254
"block2",

0 commit comments

Comments
 (0)