mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-07 06:03:53 +00:00
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>
10 lines
290 B
Plaintext
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;
|
|
}
|
|
}
|
|
});
|