Skip to main content

desktop_example/
main.rs

1use freya::prelude::{
2    LaunchConfig,
3    WindowConfig,
4    launch,
5};
6
7mod app;
8
9fn main() {
10    env_logger::init();
11    launch(
12        LaunchConfig::new().with_window(
13            WindowConfig::new(app::app)
14                .with_size(500., 450.)
15                .with_resizable(false),
16        ),
17    )
18}