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 1d52578 commit 32028d8Copy full SHA for 32028d8
Source/Libraries/HedgeModManager.Steam/SteamLocator.cs
@@ -128,6 +128,22 @@ public List<SteamGame> Locate()
128
continue;
129
}
130
131
+ // Paths will be encoded by Windows steam and will need to be adapted for macOS Paths.
132
+ // C:\ is equivalent to the Wine prefix.
133
+ // Any other drive letter should be removed and treated as raw Unix path.
134
+ if (OperatingSystem.IsMacOS())
135
+ {
136
+ if (path.StartsWith(@"C:\"))
137
138
+ path = SteamInstallPath;
139
+ }
140
+ else
141
142
+ // Remove drive letter and replace slashes
143
+ path = path[2..].Replace(@"\", "/");
144
145
146
+
147
var libPath = Path.Combine(path, "steamapps");
148
foreach (var app in apps)
149
{
0 commit comments