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
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)