electron-sudo

Electron subprocess with administrative privileges, prompting the user with an OS dialog if necessary.

is-root

Check if the process is running as root user, for example, one started with `sudo`