mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Write a config file if it is missing
This commit is contained in:
@@ -25,6 +25,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
#[cfg(not(feature = "ui"))]
|
||||
{
|
||||
let settings = settings::Settings::new()?;
|
||||
settings::Settings::write_config_if_missing();
|
||||
sync::run_sync(&settings).await
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user