Skip to content

Electron example app showing how to elevate admin privileges for a child process

License

Notifications You must be signed in to change notification settings

bluesad/electron-runas-admin

 
 

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

Electron example app showing how to elevate admin privileges for a child process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.7%
  • HTML 19.3%