File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name = "try-wry"
33version = " 0.1.0"
44edition = " 2024"
55
6+
7+ [[bin ]]
8+ name = " t01"
9+ path = " examples/try01.rs"
10+
11+
612[dependencies ]
713tao = " 0.32.6"
814winit = " 0.30.9"
Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ use wry::{
99 dpi:: { LogicalPosition , LogicalSize } ,
1010} ;
1111
12+ /*
13+
14+
15+ ref: https://github.com/tauri-apps/wry/blob/dev/examples/multiwebview.rs
16+
17+ */
18+
1219#[ derive( Default ) ]
1320struct State {
1421 window : Option < Window > ,
Original file line number Diff line number Diff line change @@ -9,8 +9,25 @@ cargo add wry
99
1010```
1111
12+
13+ ### Run
14+
15+ ``` ruby
16+
17+ cd git- repo- root- dir/
18+
19+ task gui:wry: r -- -- bin t01
20+ ```
21+
22+
23+
1224## Reference
1325
1426- https://crates.io/crates/wry
1527- https://crates.io/crates/tao
16- - https://crates.io/crates/winit
28+ - https://crates.io/crates/winit
29+
30+
31+ > examples
32+
33+ - https://github.com/tauri-apps/wry/tree/dev/examples
You can’t perform that action at this time.
0 commit comments