mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 02:06:33 +00:00
fix(GUI): display an error if no polkit authentication agent was found (#615)
Currently, if no graphical polkit authentication agent is found, `sudo-prompt` will yield a "User did not grant permission." error, which gives the impression the user cancelled the dialog (or entered the wrong password), causing confusion for the user. Instead, Etcher will now display a nice "No polkit authentication agent found." error dialog. Change-Type: patch Changelog-Entry: Display an error if no graphical polkit authentication agent was found. See: https://github.com/jorangreef/sudo-prompt/pull/29 Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
cc8ba8b6c9
commit
bdbff0e814
6
npm-shrinkwrap.json
generated
6
npm-shrinkwrap.json
generated
@ -4979,9 +4979,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sudo-prompt": {
|
"sudo-prompt": {
|
||||||
"version": "5.1.0",
|
"version": "6.1.0",
|
||||||
"from": "sudo-prompt@>=5.1.0 <6.0.0",
|
"from": "sudo-prompt@6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/sudo-prompt/-/sudo-prompt-5.1.0.tgz"
|
"resolved": "https://registry.npmjs.org/sudo-prompt/-/sudo-prompt-6.1.0.tgz"
|
||||||
},
|
},
|
||||||
"supports-color": {
|
"supports-color": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
"resin-cli-visuals": "^1.2.8",
|
"resin-cli-visuals": "^1.2.8",
|
||||||
"rx": "^4.1.0",
|
"rx": "^4.1.0",
|
||||||
"semver": "^5.1.0",
|
"semver": "^5.1.0",
|
||||||
"sudo-prompt": "^5.1.0",
|
"sudo-prompt": "^6.1.0",
|
||||||
"tail": "^1.1.0",
|
"tail": "^1.1.0",
|
||||||
"tmp": "0.0.28",
|
"tmp": "0.0.28",
|
||||||
"trackjs": "^2.1.16",
|
"trackjs": "^2.1.16",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user