Branchwell

Clearwake / app · clearwake.ai / crates / clearwake-app / src / main.rs

Raw 443 B on 85fd7484362aeeaf8dbc19b2d6ddb6a3999a141b
1// Hide the console window on Windows.
2#![cfg_attr(all(windows, not(debug_assertions)), windows_subsystem = "windows")]
3
4#[cfg(not(target_arch = "wasm32"))]
5fn main() -> eframe::Result {
6 let start = std::env::args().nth(1);
7 eframe::run_native(
8 "Clearwake",
9 clearwake::native_options(),
10 Box::new(move |cc| Ok(Box::new(clearwake::Clearwake::new(cc, start)))),
11 )
12}
13
14#[cfg(target_arch = "wasm32")]
15fn main() {}