mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 19:09:43 +00:00
Fixes #313 Change browser process detection from pgrep -f (full command line match) to pgrep -x (exact process name match) to prevent false positives. Microsoft Teams processes contain 'Microsoft' in their paths and may have Chromium-based components, which was causing them to be incorrectly identified as Microsoft Edge during clean operations. Changes: - Chrome detection: pgrep -f → pgrep -x - Edge detection: pgrep -f → pgrep -x - Edge updater detection: pgrep -f → pgrep -x This approach is consistent with Firefox detection and prevents Apps like Microsoft Teams, Microsoft Office, or other Microsoft products from triggering false Edge detection. All existing tests pass (9/9 in clean_browser_versions.bats).