Possible detection fix #161
This commit is contained in:
@@ -277,7 +277,8 @@ Public Class mgrProcessDetection
|
|||||||
For Each prsCurrent As Process In prsList
|
For Each prsCurrent As Process In prsList
|
||||||
'This needs to be wrapped due to issues with Mono.
|
'This needs to be wrapped due to issues with Mono.
|
||||||
Try
|
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
|
'Unix Handler
|
||||||
'We need some special handling for Wine processes
|
'We need some special handling for Wine processes
|
||||||
|
|||||||
Reference in New Issue
Block a user