electron-sudo icon indicating copy to clipboard operation
electron-sudo copied to clipboard

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

Results 21 electron-sudo issues
Sort by recently updated
recently updated
newest added

```javascript sudoer.spawn( 'resolvconf -u' ) .catch(err => { console.error(err); }); ``` Throws this error ``` TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received type object at validateString...

I use example code on Electron main thread but get back error **Uncaught Exception: TypeError: Sudoer is not a constructor** ``` const {Sudoer} = require('electron-sudo') let options = {name: 'electron...

I've had problems when signing my electron app for distribution in macOS. App signing and distribution is still a new world to me, so I will try my best to...

bug
5.0

When trying to run an Electron app that uses this, it complains about not being able to find `regenerator-runtime`. Inspecting the code of `dist/index.js` reveals that this is true, `regenerator-runtime`...

on macox 10.13.4 (17E199) can show the prompt dialog, but no effect for 'touch /etc/baby' command. I doesn't find baby file in folder etc. I don't know why #60 was...

There was a bug in the `SudoerLinux.getBinary()` function which replaced the path with an object, causing `[object Object]` to appear as the binary path. There was another bug in `SudoerLinux.exec()`...

It can't run with electron-builder dist package Image: [Imgur](http://i.imgur.com/27bWBGa.png) in fact, this executable is in `/Users/zh99998/mycard/dist/mac/MyCard.app/Contents/Resources/app.asar.unpacked/node_modules/electron-sudo/dist/bin` notice `app.asar.unpacked` during packaging, it says: `node_modules/electron-sudo is not packed into asar archive -...

enhancement
5.0

The Buffer() function and new Buffer() constructor are deprecated due to API usability issues that can potentially lead to accidental security issues.

https://derflounder.wordpress.com/2016/09/21/tty_tickets-option-now-on-by-default-for-macos-sierras-sudo-tool/

bug
5.0