Update com.feralinteractive.GameMode.policy.in

added plociykit support for a new helper to write to /proc/sys
This commit is contained in:
Henrik Holst 2023-12-04 19:52:07 +01:00 committed by afayaz-feral
parent 9a7ee00bbf
commit 97e588a5ad

View File

@ -47,4 +47,15 @@
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action> </action>
<action id="com.feralinteractive.GameMode.procsys-helper">
<description>Modify the /proc/sys values</description>
<message>Authentication is required to modify the /proc/sys/ values</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@/procsysctl</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig> </policyconfig>