Browse Source

Update gamemode.rules.in

added policykit rules for a new helper to modify values in /proc/sys
Henrik Holst 1 year ago
parent
commit
7381d93c13
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data/polkit/rules.d/gamemode.rules.in

+ 2 - 1
data/polkit/rules.d/gamemode.rules.in

@@ -5,7 +5,8 @@
 polkit.addRule(function (action, subject) {
     if ((action.id == "com.feralinteractive.GameMode.governor-helper" ||
          action.id == "com.feralinteractive.GameMode.gpu-helper" ||
-         action.id == "com.feralinteractive.GameMode.cpu-helper") &&
+         action.id == "com.feralinteractive.GameMode.cpu-helper") ||
+         action.id == "com.feralinteractive.GameMode.procsys-helper") &&
         subject.isInGroup("@GAMEMODE_PRIVILEGED_GROUP@"))
     {
         return polkit.Result.YES;