mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-30 20:58:45 +00:00
feat: make all profile fields public
This commit is contained in:
parent
afb9e2bbbc
commit
fea107c058
1 changed files with 9 additions and 9 deletions
|
@ -8,15 +8,15 @@ use std::{
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct Profile {
|
pub struct Profile {
|
||||||
monado_path: String,
|
pub monado_path: String,
|
||||||
openovr_path: String,
|
pub openovr_path: String,
|
||||||
libsurvive_path: Option<String>,
|
pub libsurvive_path: Option<String>,
|
||||||
basalt_path: Option<String>,
|
pub basalt_path: Option<String>,
|
||||||
mercury_path: Option<String>,
|
pub mercury_path: Option<String>,
|
||||||
libsurvive_enabled: bool,
|
pub libsurvive_enabled: bool,
|
||||||
basalt_enabled: bool,
|
pub basalt_enabled: bool,
|
||||||
mercury_enabled: bool,
|
pub mercury_enabled: bool,
|
||||||
environment: HashMap<String, String>,
|
pub environment: HashMap<String, String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn load_profile(path: &String) -> Result<Profile, serde_json::Error> {
|
pub fn load_profile(path: &String) -> Result<Profile, serde_json::Error> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue