Add settings for EGS and SteamgridDB

This commit is contained in:
Philip Kristoffersen
2021-09-25 00:36:09 +02:00
parent 60dd680c33
commit 99079dcaff
13 changed files with 307 additions and 66 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
mod legendary_game;
mod get_legendary_games;
mod settings;
pub use get_legendary_games::*;
pub use legendary_game::*;
pub use legendary_game::*;
pub use settings::*;
+16
View File
@@ -0,0 +1,16 @@
use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct LegendarySettings {
pub enabled: bool,
pub executable: Option<String>,
}
impl Default for LegendarySettings {
fn default() -> Self {
Self {
enabled: true,
executable: None,
}
}
}