mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
pkexec is not a reliably graphical sudo, don't use it
This commit is contained in:
@@ -1792,7 +1792,7 @@ bool RunProcessAsAdmin(const QString &fullExecutablePath, const QStringList &par
|
||||
#else
|
||||
// try to find a way to run the application elevated.
|
||||
const QString graphicalSudo[] = {
|
||||
lit("pkexec"), lit("kdesudo"), lit("gksudo"), lit("beesu"),
|
||||
lit("kdesudo"), lit("gksudo"), lit("beesu"),
|
||||
};
|
||||
|
||||
// if none of the graphical options, then look for sudo and either
|
||||
|
||||
Reference in New Issue
Block a user