mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
chore(deps): update windows
to 0.30
This commit is contained in:
parent
ab7d3b51eb
commit
b9c00d2db5
@ -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",
|
||||
]
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
]
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user