diff options
Diffstat (limited to 'src-tauri/src/launcher/config.rs')
| -rw-r--r-- | src-tauri/src/launcher/config.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src-tauri/src/launcher/config.rs b/src-tauri/src/launcher/config.rs new file mode 100644 index 0000000..fafc229 --- /dev/null +++ b/src-tauri/src/launcher/config.rs @@ -0,0 +1,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, + } + } +}
\ No newline at end of file |