electron-shutdown-command icon indicating copy to clipboard operation
electron-shutdown-command copied to clipboard

Make use of sudo-prompt

Open fromage9747 opened this issue 1 year ago • 1 comments

Due to Linux and Mac requiring sudo, have you thought about trying this?

https://github.com/jorangreef/sudo-prompt

This will then prompt the user for sudo privileges if required, like in the instance for reboot or shutdown.

fromage9747 avatar Jul 12 '24 04:07 fromage9747

https://www.npmjs.com/package/sudo-prompt says

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

jayvdb avatar Jan 17 '25 01:01 jayvdb