beyondcode / dusk-dashboard

A beautiful dashboard for your Laravel Dusk tests
https://pociot.dev/8-introducing-laravel-dusk-dashboard
MIT License
558 stars 62 forks source link

Use `open` command only on macOS as it is not available on other systems #27

Closed nikazooz closed 5 years ago

nikazooz commented 5 years ago

Since open command used to open dashboard in the browser is available only on macOS, an error is thrown on other operating systems.

This PR adds check to see if PHP is run on macOS before executing the open command.

mpociot commented 5 years ago

Thank you!