Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kmturley/electron-runas-admin

Electron example app showing how to elevate admin privileges for a child process
https://github.com/kmturley/electron-runas-admin

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://en.wikipedia.org/wiki/Whoami)

## 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