Possible detection fix #161

This commit is contained in:
Michael J. Seiferling
2019-02-10 09:44:08 -06:00
parent 04593df988
commit 94a6cfb074
+2 -1
View File
@@ -277,7 +277,8 @@ Public Class mgrProcessDetection
For Each prsCurrent As Process In prsList
'This needs to be wrapped due to issues with Mono.
Try
sProcessCheck = prsCurrent.ProcessName
'Some processes may return the ProcessName as a full path instead of the executable name.
sProcessCheck = Path.GetFileNameWithoutExtension(prsCurrent.ProcessName)
'Unix Handler
'We need some special handling for Wine processes