瀏覽代碼

[fix] polkit parse error caused by an extra )

Vamist 1 年之前
父節點
當前提交
e82e9dafd0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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@"))
     {