Skip to content

Commit

Permalink
Fixed bug in Oculus detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Assistant committed May 22, 2019
1 parent 57eb0de commit 8934d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModAssistant/Classes/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ public static string GetOculusDir()

if (!String.IsNullOrEmpty(OculusInstall))
{
if (File.Exists(Path.Combine(OculusInstall, @"Software\hyperbolic-magnetism-beat-saber", "Beat Saber.exe")))
if (File.Exists(Path.Combine(OculusInstall, "Software", "hyperbolic-magnetism-beat-saber", "Beat Saber.exe")))
{
return SetDir(Path.Combine(OculusInstall + @"Software\hyperbolic-magnetism-beat-saber"), "Oculus");
return SetDir(Path.Combine(OculusInstall, "Software", "hyperbolic-magnetism-beat-saber"), "Oculus");
}
}

Expand Down

0 comments on commit 8934d61

Please sign in to comment.