locate-safari
Finds Safari on your system.
Based on chrome-location
.
Usage
var locateSafari = ;// Use a callback;// Use the returned PromiselocateSafari;
CLI Usage
stdout
path to Safari (or null
):
> locate-safari# /Applications/Safari.app/Contents/MacOS/Safari
Open Safari (you'll need to use quotes if Safari's path has spaces in it):
> "`locate-safari`"
License
MIT. See LICENSE.md for details.