mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
30 lines
455 B
Rust
30 lines
455 B
Rust
mod egs;
|
|
mod gog;
|
|
mod itch;
|
|
mod legendary;
|
|
mod origin;
|
|
mod platform;
|
|
mod settings;
|
|
mod steam;
|
|
mod steamgriddb;
|
|
mod sync;
|
|
mod uplay;
|
|
|
|
#[cfg(feature = "ui")]
|
|
mod ui;
|
|
|
|
use std::error::Error;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), Box<dyn Error>> {
|
|
#[cfg(feature = "ui")]
|
|
{
|
|
ui::run_ui().await
|
|
}
|
|
#[cfg(not(feature = "ui"))]
|
|
{
|
|
let settings = settings::Settings::new()?;
|
|
sync::run_sync(&settings).await
|
|
}
|
|
}
|