Add support new browsers Mac OS (#20)

Co-authored-by: a.artamonov <a.artamonov@sftpro.ru>
This commit is contained in:
Alexander Artamonov 2023-01-03 13:29:33 +06:00 committed by GitHub
parent d48df7e1d3
commit 7144af9065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@
## v0.9.0
- [X] Browser version info API
- [X] Idle API v2
- [X] Support darwin (Mac OS)
- [ ] Window show/hide API
## v0.8.0

View File

@ -39,8 +39,13 @@ const browserPaths = ({
darwin: {
chrome: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
chrome_canary: '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
edge: '/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge',
chromium: '/Applications/Chromium.app/Contents/MacOS/Chromium',
firefox: '/Applications/Firefox.app/Contents/MacOS/firefox',
firefox_nightly: '/Applications/Firefox Nightly.app/Contents/MacOS/firefox'
}
})[process.platform];