This repository was archived by the owner on Apr 11, 2018. It is now read-only.
v2.0.0
- New
-f/--findoption for thedoctorcommand
Using the-f/--findoption, the doctor command finds all enabled services first, and then evaluates all paths that are used for each service, to display you all services that belong to broken paths. This is useful if you've enabled autostart for a project you've now deleted. - Switched
errandisEnabledcallback parameters forisAutostartEnabled()
Now, a proper example for theisAutostartEnabled()looks like this:
var autostart = require('node-autostart');
autostart.isAutostartEnabled(myModuleName, function(err, isEnabled) {
if(err) {
console.error(err);
}
console.log('Autostart is', isEnabled ? 'enabled' : 'disabled');
};- Further tweaked tests and coverage