mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
16 lines
254 B
Rust
16 lines
254 B
Rust
mod app;
|
|
mod profile;
|
|
|
|
use app::App;
|
|
use profile::Profile;
|
|
|
|
use gtk::glib::ExitCode;
|
|
use std::rc::Rc;
|
|
|
|
fn main() -> ExitCode {
|
|
match gtk::init() {
|
|
Ok(_) => App::new(Rc::new(Profile::new())).run(),
|
|
Err(_) => ExitCode::FAILURE,
|
|
}
|
|
}
|