We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f659cc commit 546176bCopy full SHA for 546176b
1 file changed
Source/HedgeModManager/LinuxCompatibility.cs
@@ -159,7 +159,7 @@ public static string ToWinePath(string path)
159
// Root path
160
if (path.StartsWith("/"))
161
{
162
- return "Z:\\" + path.Replace("/", "\\");
+ return "Z:" + path.Replace("/", "\\");
163
}
164
165
// Unknown path
@@ -176,7 +176,7 @@ public static string ToUnixPath(string path)
176
177
if (path.StartsWith("Z:\\"))
178
179
- return "/" + path[3..].Replace("\\", "/");
+ return path[2..].Replace("\\", "/");
180
181
182
0 commit comments