0.0.1 • Published 7 years ago

desktop-context v0.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

Desktop Context

A simple node library to add programs to your Windows desktop context menu.

In other words, this allows you to right click your desktop and select a program, which you've added via this script, to open.

Installation

npm install desktop-context or yarn add desktop-context

Example

Adding a program

const desktopContext = require('desktop-context');

desktopContext.addProgram(
  "Telegram",
  "C:\\Users\\Hawkins\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe"
);

example

Removing a program

const desktopContext = require('desktop-context');

desktopContext.removeProgram("Telegram");