mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 11:35:48 +00:00
chore: format
This commit is contained in:
parent
fa6e8ac56a
commit
ad792aa5df
2 changed files with 7 additions and 5 deletions
|
@ -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(())
|
||||
}
|
||||
|
|
|
@ -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::<gtk::Window>()),
|
||||
);
|
||||
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::<gtk::Window>()),
|
||||
);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue