You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(detection): Chrome detection fails on MacOs Catalina (#30)
* fix(detection): Chrome detection fails on MacOs Catalina
In Catalina lines returned by OS have a suffix with some hex code in
parenthesis. For example:
path: /Applications/Google Chrome.app (0x1ae4)
path: /Users/rchlodnicki/Downloads/Google Chrome.app (0xa8c)
Fixed by parsing lines with regexp and ignoring that part of the line.
Switched from `awk` to JS for that job as it's more flexible and easier.
Resolves#29
* filter out some unwanted results
* Simplify based on @clarkdo fix
* Readd trim()
0 commit comments