Changed wine save path detection for #148

This commit is contained in:
Michael J. Seiferling
2018-09-14 12:43:57 -06:00
parent c7e3e62ce1
commit 854d2ed537
+1 -1
View File
@@ -258,7 +258,7 @@ Public Class mgrPath
ElseIf sPath.Contains("%USERPROFILE%") Then ElseIf sPath.Contains("%USERPROFILE%") Then
sReplace = "%USERPROFILE%" sReplace = "%USERPROFILE%"
sRegistry = File.ReadAllText(sPrefix & Path.DirectorySeparatorChar & "user.reg") sRegistry = File.ReadAllText(sPrefix & Path.DirectorySeparatorChar & "user.reg")
oParse = New Regex("""Personal""="".+?(?=\\\\My Documents)") oParse = New Regex("""Desktop""="".+?(?=\\\\Desktop)")
Else Else
Return sPath Return sPath
End If End If