use std::path::PathBuf; use fidget_spinner_store_sqlite::StoreError; #[derive(Clone, Debug)] pub(super) struct HostConfig { pub(super) executable: PathBuf, pub(super) initial_project: Option, } impl HostConfig { pub(super) fn new(initial_project: Option) -> Result { Ok(Self { executable: std::env::current_exe()?, initial_project, }) } }