MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / FindSteamToolsExe

Method FindSteamToolsExe

ui/Services/Patching/Patcher.cs:626–637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

624 static readonly byte[] StExePatched = { 0xC3, 0x90 }; // ret nop
625
626 static string FindSteamToolsExe()
627 {
628 try
629 {
630 using var key = Registry.CurrentUser.OpenSubKey(@"Software\Valve\Steamtools");
631 var raw = key?.GetValue("SteamPath") as string;
632 if (raw == null) return null;
633 var path = Path.Combine(raw.Replace('/', '\\'), "SteamTools.exe");
634 return File.Exists(path) ? path : null;
635 }
636 catch { return null; }
637 }
638
639 void KillSteamTools()
640 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected