From fea107c0587552d638c5db48a36d3b2d94dcfa6b Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Fri, 2 Jun 2023 10:41:27 +0200 Subject: [PATCH] feat: make all profile fields public --- src/profile.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/profile.rs b/src/profile.rs index daf60d5..e3e6326 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -8,15 +8,15 @@ use std::{ #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Profile { - monado_path: String, - openovr_path: String, - libsurvive_path: Option, - basalt_path: Option, - mercury_path: Option, - libsurvive_enabled: bool, - basalt_enabled: bool, - mercury_enabled: bool, - environment: HashMap, + pub monado_path: String, + pub openovr_path: String, + pub libsurvive_path: Option, + pub basalt_path: Option, + pub mercury_path: Option, + pub libsurvive_enabled: bool, + pub basalt_enabled: bool, + pub mercury_enabled: bool, + pub environment: HashMap, } pub fn load_profile(path: &String) -> Result {