Browse Source

[fix] polkit parse error caused by an extra )

Vamist 1 year ago
parent
commit
e82e9dafd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/polkit/rules.d/gamemode.rules.in

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

@@ -5,7 +5,7 @@
 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@"))
     {