Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kmturley/electron-runas-admin
- Owner: kmturley
- License: cc0-1.0
- Created: 2022-03-12T19:56:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T14:02:13.000Z (over 1 year ago)
- Last Synced: 2024-05-02T00:59:44.646Z (7 months ago)
- Language: TypeScript
- Size: 1.21 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
## 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