mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-04 22:57:21 +02:00
added polkit policy for cpucorectl
added the polkit policy for the cpucorectl utility so we can call it without being root
This commit is contained in:
parent
4997adef8d
commit
437a129900
@ -35,4 +35,16 @@
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
<action id="com.feralinteractive.GameMode.cpu-helper">
|
||||
<description>Modify the CPU core states</description>
|
||||
<message>Authentication is required to modify the CPU core states</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>no</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/cpucorectl</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
||||
|
Loading…
x
Reference in New Issue
Block a user