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> { #[cfg(feature = "ui")] { ui::run_ui().await } #[cfg(not(feature = "ui"))] { let settings = settings::Settings::new()?; sync::run_sync(&settings).await } }