Skip to content

freddy-daniel/electron-sudo-app

Repository files navigation

electron-runs-admin

Example app showing how to elevate admin privileges for a child process using:

  • NodeJS 12.x
  • Electron 17.x
  • Typescript 4.x
  • whoami bash command

Screenshots

App

Awhoamipp

Elevated popup

Elevated whoami

whoami

Displays user, group and privileges information for the user who is currently logged on to the local system. If used without parameters, whoami displays the current domain and user name. Read more

Installation

Install node dependencies using:

npm install

Usage

Build Typescript source and run Electron using:

npm start

Build app

Build production app file using:

npm run build

Contact

For more information please contact kmturley

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published