Files
clr-installer/etc/org.clearlinux.clr-installer-gui.rules
T
Mark D Horn b9b8e95acb gui: Desktop Launcher fixes
Made all files and actions consistent with the clr-installer-gui name.

Fix security of starting Installer; user pkexec not sudo.
Added new rule for clr-installer-gui.

Fix bug so only one icon is present when running.

Switch to only using Mexican Spanish for translations.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-29 14:40:48 -07:00

10 lines
290 B
Plaintext

polkit.addRule(function(action, subject) {
if (action.id == "org.clearlinux.clr-installer-gui.start") {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
} else {
return polkit.Result.AUTH_ADMIN;
}
}
});