mitsuhiko / rust-runas

Runs a command in an elevated context
Apache License 2.0
40 stars 19 forks source link

Add ability to provide a gui based prompt from unix. #16

Open uglyoldbob opened 5 months ago

uglyoldbob commented 5 months ago

This pull request runs pkexec instead of sudo when run with gui.

uglyoldbob commented 4 months ago

Any thoughts on this pull request @mitsuhiko ?

mitsuhiko commented 4 months ago

Unfortunately I do not currently have a linux box around so I can't really test it. Could you provide a screenshot of how this looks like?

uglyoldbob commented 4 months ago

Screenshot from 2024-05-13 08-23-09 (This is on ubuntu 22.04)

uglyoldbob commented 3 months ago

@mitsuhiko What do you think of the appearance of the gui prompt in the screenshot?

greenhat616 commented 3 weeks ago

Hopefully it could be reviewed and merge into the main branch soon.