From 7381d93c132f56bfd506ba6bb6b7d6381da517be Mon Sep 17 00:00:00 2001 From: Henrik Holst Date: Mon, 4 Dec 2023 19:53:17 +0100 Subject: [PATCH] Update gamemode.rules.in added policykit rules for a new helper to modify values in /proc/sys --- data/polkit/rules.d/gamemode.rules.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/polkit/rules.d/gamemode.rules.in b/data/polkit/rules.d/gamemode.rules.in index 749f8f4..11fbfb4 100644 --- a/data/polkit/rules.d/gamemode.rules.in +++ b/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;