Tweaked fix for #161 to prevent other detection issues

This commit is contained in:
Michael J. Seiferling
2019-03-09 00:37:36 -06:00
parent 832bb9fbc4
commit 7ca0a50411
+1 -1
View File
@@ -278,7 +278,7 @@ Public Class mgrProcessDetection
'This needs to be wrapped due to issues with Mono. 'This needs to be wrapped due to issues with Mono.
Try Try
'Some processes may return the ProcessName as a full path instead of the executable name. 'Some processes may return the ProcessName as a full path instead of the executable name.
sProcessCheck = Path.GetFileNameWithoutExtension(prsCurrent.ProcessName) sProcessCheck = Path.GetFileName(prsCurrent.ProcessName)
'Unix Handler 'Unix Handler
'We need some special handling for Wine processes 'We need some special handling for Wine processes