From da43c4be97b3eaaed7f5631251975e3573ff7daf Mon Sep 17 00:00:00 2001 From: "Rph :3" <11350302+rphsoftware@users.noreply.github.com> Date: Thu, 3 Apr 2025 23:03:33 +0200 Subject: [PATCH] fix windows --- src/omori_locator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()),