/osx-find-executable

Find an app's executable by its bundle id

Primary LanguageJavaScript

osx-find-executable

Find an app's executable by its bundle id.

Usage

const find = require('osx-find-executable')

find('com.google.Chrome', (err, exec) => {
  // => /Applications/Google Chrome.app/Contents/MacOS/Google Chrome 
})

Installation

$ npm install osx-find-executable

API

find(id, cb(err, exec))

License

MIT