To build this app, the source code needs to be updated.
All the code is intauri-app_mod.rs
with information.
cargo run -- --url http://localhost:5000 -w 400 -w 740
cargo build --release
web-app -u http://example.com -w 500 -h 800 -on
These options are there.
:long | :short | :default |
---|---|---|
--url | -u | http://localhost:5000 |
--file | -f | null |
--title | -t | Web App |
--width | -w | 800 |
--height | -h | 600 |
--left | -x | center |
--top | -y | center |
--light | -l | system |
--dark | -d | system |
--ontop | -ot | false |
--devtools | -dt | false |
--fullscreen | -fs | false |
--left
and--top
work with negative numbers (-1) to indicateright
andbottom
.
Open file url--url file:///path/dir/file
Open directories and files by path--file ./path/file
(only browser supported files)