node-system-extension
v0.0.6
Published
Electron addon to install system extensions
Readme
node-system-extension
Allow Electron to install a system extension
Requires GCD, so will need to run on something running NSRunLoop. In modern electron the render processes don't run NSRunLoop.
Prerequisites
- You will need a SystemExtension in
PACKAGE/Contents/Library/SystemExtensions - You will need to copy your app to
/Applicationsbefore you run it. - You will need the entitlement
com.apple.developer.system-extension.installin your electron app.
Usage
const SystemExtension = require('node-system-extension');
SystemExtension.setDebug(true);
SystemExtension.install("com.example.name.Extension", (reason, ident, result) => {
console.log("got event:", reason, ident, result);
});