From 437a129900e9122179ac8cbbbb93bd49bd0ea635 Mon Sep 17 00:00:00 2001 From: Henrik Holst Date: Wed, 3 May 2023 07:38:00 +0200 Subject: [PATCH] added polkit policy for cpucorectl added the polkit policy for the cpucorectl utility so we can call it without being root --- .../actions/com.feralinteractive.GameMode.policy.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data/polkit/actions/com.feralinteractive.GameMode.policy.in b/data/polkit/actions/com.feralinteractive.GameMode.policy.in index c3e3a20..676f4f1 100644 --- a/data/polkit/actions/com.feralinteractive.GameMode.policy.in +++ b/data/polkit/actions/com.feralinteractive.GameMode.policy.in @@ -35,4 +35,16 @@ true + + Modify the CPU core states + Authentication is required to modify the CPU core states + + no + no + no + + @LIBEXECDIR@/cpucorectl + true + +