chore(deps): update windows to 0.30

This commit is contained in:
Lucas Nogueira 2022-01-15 13:20:30 -03:00
parent ab7d3b51eb
commit b9c00d2db5
No known key found for this signature in database
GPG Key ID: D59F1874CB5198CF
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ readme = "README.md"
[dependencies]
#wry = { version = "0.12", default-features = false, features = [ "file-drop", "protocol" ] }
wry = { git = "https://github.com/tauri-apps/wry", rev = "3284f8d442978269f7654edbdfc9bc51022eaa40", default-features = false, features = [ "file-drop", "protocol", "transparent", "fullscreen" ] }
wry = { git = "https://github.com/tauri-apps/wry", rev = "a3829035a3e49e76db77b0db6924e147831124c7", default-features = false, features = [ "file-drop", "protocol", "transparent", "fullscreen" ] }
tauri-runtime = { version = "0.2.1", path = "../tauri-runtime" }
tauri-utils = { version = "1.0.0-beta.3", path = "../tauri-utils" }
uuid = { version = "0.8.2", features = [ "v4" ] }
@ -29,10 +29,10 @@ once_cell = { version = "1.8", optional = true}
[target."cfg(windows)".dependencies]
ico = "0.1"
webview2-com = "0.9.0"
webview2-com = "0.10.0"
[target."cfg(windows)".dependencies.windows]
version = "0.29.0"
version = "0.30.0"
features = [
"Win32_Foundation",
]

View File

@ -2098,7 +2098,7 @@ fn handle_user_message(
#[cfg(target_os = "macos")]
WindowMessage::NSWindow(tx) => tx.send(NSWindow(window.ns_window())).unwrap(),
#[cfg(windows)]
WindowMessage::Hwnd(tx) => tx.send(Hwnd(window.hwnd() as _)).unwrap(),
WindowMessage::Hwnd(tx) => tx.send(Hwnd(HWND(window.hwnd() as _))).unwrap(),
#[cfg(any(
target_os = "linux",
target_os = "dragonfly",

View File

@ -36,7 +36,7 @@ infer = "0.4"
webview2-com = "0.9.0"
[target."cfg(windows)".dependencies.windows]
version = "0.29.0"
version = "0.30.0"
features = [
"Win32_Foundation",
]

View File

@ -512,7 +512,7 @@ impl<R: Runtime> Window<R> {
.window
.dispatcher
.hwnd()
.map(|hwnd| hwnd as *mut _)
.map(|hwnd| hwnd.0 as *mut _)
.map_err(Into::into)
}