diff --git a/GBM/Managers/mgrProcessDetection.vb b/GBM/Managers/mgrProcessDetection.vb index e51cdfb..bd0512e 100644 --- a/GBM/Managers/mgrProcessDetection.vb +++ b/GBM/Managers/mgrProcessDetection.vb @@ -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