mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
15 lines
254 B
Rust
15 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,
|
|
}
|
|
}
|