Socket
Socket
Sign inDemoInstall

desktop-context

Package Overview
Dependencies
18
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    desktop-context

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


Version published
Maintainers
1
Created

Readme

Source

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");

FAQs

Last updated on 11 May 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc