@rensatsu/win-reg-restart
v0.2.4
Published
A Node.js extension for registering applications for restart on Windows
Downloads
18
Maintainers
Readme
Register Application Restart
A Node.js module that adds methods for invoking the WinAPI
RegisterApplicationRestart
and
UnregisterApplicationRestart
methods.
Due to limitations of these API methods, module may be incompatible with some electron apps.
Usage
Install module using npm:
npm i --save @rensatsu/win-reg-restart
Register an application to be restarted on Windows restart:
const winRegRestart = require("@rensatsu/win-reg-restart");
const result = winRegRestart.registerApplicationRestart("--minimized");
console.log({ result });
Original code
Original project: node-windows-register-restart
by kdelorey
.
This is a modified fork of the repository located here licensed under MIT License.