diff --git a/src/omori_locator.rs b/src/omori_locator.rs index e1e00e1..0581fa8 100644 --- a/src/omori_locator.rs +++ b/src/omori_locator.rs @@ -18,7 +18,7 @@ fn get_steam_root() -> anyhow::Result { fn get_steam_root() -> anyhow::Result { use registry::{self, Security, Data}; - let key = registry::Hive::LocalMachine.open(r"\SOFTWARE\Wow6432Node\Valve\Steam", Security::Read)?; + let key = registry::Hive::LocalMachine.open(r"SOFTWARE\Wow6432Node\Valve\Steam", Security::Read)?; let value = match key.value("InstallPath")? { Data::String(s) => Some(s.to_string_lossy()), Data::ExpandString(s) => Some(s.to_string_lossy()),