![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
electron-regedit
Advanced tools
File associations, file icons & open with... for electron apps
This module allows you to register your app in the windows registry, manipulate context menus & handle native open, edit, print, preview actions ect.
npm install electron-regedit
As a short documentation, here is how the module is used:
const {ProgId, ShellOption, Regedit} = require('electron-regedit')
new ProgId({
description: 'My App File',
icon: 'myicon.ico',
extensions: ['myapp'],
shell: [
new ShellOption({verb: ShellOption.OPEN}),
new ShellOption({verb: ShellOption.EDIT, args: ['--edit']}),
new ShellOption({verb: ShellOption.PRINT, args: ['--print']})
]
})
Regedit.installAll()
You will need to call Regedit.installAll()
and Regedit.uninstallAll()
when installing/uninstalling your application to clean up the registry. If you are using Squirrel there is a helping function to handle this. It is very important that all instantions of new ProgId({...})
have been done before handling Squirrel events or installing/uninstalling into the registry.
const {Regedit} = require('electron-regedit')
//... instantiate your ProgIds
if (Regedit.squirrelStartupEvent()) return
//... the rest of your application code
Please see the wiki for detailed information
FAQs
File associations, file icons & open with... for electron apps
The npm package electron-regedit receives a total of 0 weekly downloads. As such, electron-regedit popularity was classified as not popular.
We found that electron-regedit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.