Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
auto-launch
Advanced tools
[![Build Status][travis-image]][travis-url]
Launch node-webkit apps at login (Mac, Windows and Linux)
npm install auto-launch
So far the api consists only enable
disable
and isEnabled
.
For node-webkit apps you don't have to specify the path. It gets read from process.execPath
:)
var AutoLaunch = require('auto-launch');
var nwAppLauncher = new AutoLaunch({
name: 'My node webkit app yao'
});
nwAppLauncher.isEnabled(function(enabled){
if(enabled) return;
nwAppLauncher.enable(function(err){
});
});
I added a method (removeNwjsLoginItem
) to remove 'nwjs helper' app login item that might have been added to peoples accounts since the name change from node-webkit.
For general apps
var AutoLaunch = require('auto-launch');
var minecraftAutoLauncher = new AutoLaunch({
name: 'Minecraft',
path: '/Applications/Minecraft.app',
isHidden: true // hidden on launch - only works on a mac atm.
});
minecraftAutoLauncher.enable();
//minecraftAutoLauncher.disable();
getCurrentPath
- So you can check if the app has moved a roundabout.FAQs
Launch node applications or executables at login (Mac, Windows, and Linux)
The npm package auto-launch receives a total of 6,498 weekly downloads. As such, auto-launch popularity was classified as popular.
We found that auto-launch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.