You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
464 B
24 lines
464 B
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
mod ai;
|
|
mod app;
|
|
mod config;
|
|
mod history;
|
|
|
|
use once_cell::sync::Lazy;
|
|
|
|
use crate::app::App;
|
|
use crate::config::CONFIG;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
// Forces once_cell to init the config
|
|
Lazy::force(&CONFIG);
|
|
|
|
let options = eframe::NativeOptions {
|
|
..Default::default()
|
|
};
|
|
|
|
eframe::run_native("AI Gui", options, Box::new(|_| Box::new(App::default()))).unwrap();
|
|
}
|