diff --git a/src/file_builders/openvrpaths_vrpath.rs b/src/file_builders/openvrpaths_vrpath.rs index e48ee59..bc59a33 100644 --- a/src/file_builders/openvrpaths_vrpath.rs +++ b/src/file_builders/openvrpaths_vrpath.rs @@ -118,9 +118,7 @@ pub fn set_current_openvrpaths_to_profile(profile: &Profile) -> anyhow::Result<( let dest = get_openvrpaths_vrpath_path(); set_file_readonly(&dest, false)?; backup_steam_openvrpaths(); - dump_current_openvrpaths(&build_profile_openvrpaths( - profile - ))?; + dump_current_openvrpaths(&build_profile_openvrpaths(profile))?; set_file_readonly(&dest, true)?; Ok(()) } diff --git a/src/ui/app.rs b/src/ui/app.rs index a0e34b8..ff06ee8 100644 --- a/src/ui/app.rs +++ b/src/ui/app.rs @@ -165,7 +165,9 @@ impl App { if let Err(e) = set_current_active_runtime_to_profile(&prof) { alert( "Failed to start XR Service", - Some(&format!("Error setting current active runtime to profile: {e}")), + Some(&format!( + "Error setting current active runtime to profile: {e}" + )), Some(&self.app_win.clone().upcast::()), ); return; @@ -173,7 +175,9 @@ impl App { if let Err(e) = set_current_openvrpaths_to_profile(&prof) { alert( "Failed to start XR Service", - Some(&format!("Error setting current openvrpaths file to profile: {e}")), + Some(&format!( + "Error setting current openvrpaths file to profile: {e}" + )), Some(&self.app_win.clone().upcast::()), ); return;