Skip to content

Commit 8808085

Browse files
feat(window): Allow creation of Window without wry (#2321)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 0f63f5e commit 8808085

File tree

6 files changed

+190
-80
lines changed

6 files changed

+190
-80
lines changed

Diff for: .changes/tauri-empty-window.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri": patch
3+
"tauri-runtime": patch
4+
"tauri-runtime-wry": patch
5+
---
6+
7+
Allow creation of empty Window with `create_tao_window()` on the AppHandler.

Diff for: core/tauri-runtime-wry/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ]
1212
readme = "README.md"
1313

1414
[dependencies]
15-
wry = { version = "0.11", default-features = false, features = [ "file-drop", "protocol", "win32" ] }
15+
#wry = { version = "0.11", default-features = false, features = [ "file-drop", "protocol" ] }
16+
wry = { git = "https://github.com/tauri-apps/wry", branch = "dev", default-features = false, features = [ "file-drop", "protocol" ] }
1617
tauri-runtime = { version = "0.1.4", path = "../tauri-runtime" }
1718
tauri-utils = { version = "1.0.0-beta.2", path = "../tauri-utils" }
1819
uuid = { version = "0.8.2", features = [ "v4" ] }
@@ -28,5 +29,5 @@ gtk = { version = "0.9", features = [ "v3_16" ] }
2829

2930
[features]
3031
dox = [ "wry/dox" ]
31-
menu = [ "wry/menu", "tauri-runtime/menu" ]
32+
menu = [ "tauri-runtime/menu"]
3233
system-tray = [ "wry/tray", "tauri-runtime/system-tray" ]

0 commit comments

Comments
 (0)