aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/launcher/config.rs
blob: fafc2297fda14942d551b935c8f50480862b980f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub struct Config {
    pub username: String,
    pub resolution: (u32, u32),
}

impl Config {
    pub fn new(username: &str, resolution: (u32, u32)) -> Self {
        Config {
            username: username.to_string(),
            resolution,
        }
    }
}