This commit is contained in:
MikeMaximus
2018-10-12 09:18:15 -06:00
parent 4b201fb60e
commit ffe34d29e7
3 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -267,8 +267,8 @@ Public Class mgrProcessDetection
Dim sParameter As String
Dim sWinePath As String()
'The wine-preloader parameters can refer to a path on the host system, windows based path within in the prefix, or mixed notation.
sParameter = sArgs(0).Replace("\", "/")
sWinePath = sParameter.Split("/")
sParameter = sArgs(0).Replace("\", Path.DirectorySeparatorChar)
sWinePath = sParameter.Split(Path.DirectorySeparatorChar)
sProcessCheck = Path.GetFileNameWithoutExtension(sWinePath(sWinePath.Length - 1))
bWineProcess = True
Else