Add support for creating projects, upgrade wry. Warning: Partially unavailable, Wayland support is broken

This commit is contained in:
2022-07-30 23:15:33 +08:00
parent 8962b3d80b
commit 44fa046fc9
9 changed files with 352 additions and 101 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ version = "0.1.0"
[dependencies]
neutauri_data = {path = "../neutauri_data", features = ["runtime"]}
wry = {version = "0.19", default-features = false, features = ["protocol", "tray", "transparent", "fullscreen"]}
wry = {version = "0.20", default-features = false, features = ["protocol", "tray", "transparent", "fullscreen"]}
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
+1
View File
@@ -141,6 +141,7 @@ fn main() -> wry::Result<()> {
WebContext::new(None)
};
let webview = webview_builder
.with_clipboard(true)
.with_visible(res.window_attr.visible)
.with_transparent(res.window_attr.transparent)
.with_web_context(&mut web_context)