We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5a388 commit 9eade76Copy full SHA for 9eade76
Source/Libraries/HedgeModManager.Steam/SteamLocator.cs
@@ -86,6 +86,22 @@ public List<SteamGame> Locate()
86
continue;
87
}
88
89
+ // Paths will be encoded by Windows steam and will need to be adapted for macOS Paths.
90
+ // C:\ is equivalent to the Wine prefix.
91
+ // Any other drive letter should be removed and treated as raw Unix path.
92
+ if (OperatingSystem.IsMacOS())
93
+ {
94
+ if (path.StartsWith(@"C:\"))
95
96
+ path = SteamInstallPath;
97
+ }
98
+ else
99
100
+ // Remove drive letter and replace slashes
101
+ path = path[2..].Replace(@"\", "/");
102
103
104
+
105
var libPath = Path.Combine(path, "steamapps");
106
foreach (var app in apps)
107
{
0 commit comments