mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Create files for configuration
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
use std::env;
|
||||
use config::{ConfigError, Config, File, Environment};
|
||||
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Settings {
|
||||
debug: bool,
|
||||
database: EpicGamesLauncher,
|
||||
}
|
||||
|
||||
//https://github.com/JosefNemec/Playnite/tree/master/source/Plugins/OriginLibrary
|
||||
//https://github.com/JosefNemec/Playnite/blob/master/source/Plugins/OriginLibrary/Origin.cs#L109
|
||||
impl Settings {
|
||||
|
||||
pub fn new() -> Result<Self, ConfigError> {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user