polkit.addRule(function(action, subject) { if (action.id == "org.bazzite.dmidecode.pkexec" && subject.isInGroup("wheel")) { return polkit.Result.YES; } });