1.0.0 • Published 6 years ago
open-anyway v1.0.0
open-anyway
Shortcut to macOS's annoying
open anyway
option.
Install
~ ❯❯❯ npm install open-anyway
Usage
const openAnyway = require('open-anyway');
openAnyway()
// => grants permission to run & opens last accessed application
openAnyway('~/Downloads/3rd_party.app')
// => grants permission to run & opens 3rd_party.app
openAnyway().then(success => {
console.log(success);
// => true
});
API
openAnyway (path)
Gives permission to last accessed or specified application to run and subsequently opens it.
path
Type: string
Path to the application you are willing to run.
Related
- open-anyway-cli - CLI for this module.
License
MIT © Nikolaos Kamarinakis
1.0.0
6 years ago