Skip to content

Commit c6068a2

Browse files
committed
fix: detect chrome correctly on darwin (use egrep)
1 parent 2b0fde7 commit c6068a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/detectors/chrome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class ChromeDetector {
4646
}
4747
execSync(
4848
`${LSREGISTER} -dump` +
49-
" | grep -i '(google chrome\\( canary\\)\\?|chromium).app$'" +
49+
" | egrep -i '(google chrome\\( canary\\)\\?|chromium).app$'" +
5050
' | awk \'{$1=""; print $0}\''
5151
)
5252
.toString()

0 commit comments

Comments
 (0)