Skip to content

Commit

Permalink
feat(window): Allow creation of Window without wry (#2321)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
lemarier and lucasfernog committed Jul 29, 2021
1 parent 0f63f5e commit 8808085
Show file tree
Hide file tree
Showing 6 changed files with 190 additions and 80 deletions.
7 changes: 7 additions & 0 deletions .changes/tauri-empty-window.md
@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---

Allow creation of empty Window with `create_tao_window()` on the AppHandler.
5 changes: 3 additions & 2 deletions core/tauri-runtime-wry/Cargo.toml
Expand Up @@ -12,7 +12,8 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ]
readme = "README.md"

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

[features]
dox = [ "wry/dox" ]
menu = [ "wry/menu", "tauri-runtime/menu" ]
menu = [ "tauri-runtime/menu"]
system-tray = [ "wry/tray", "tauri-runtime/system-tray" ]

0 comments on commit 8808085

Please sign in to comment.