mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00
Update com.feralinteractive.GameMode.policy.in
added plociykit support for a new helper to write to /proc/sys
This commit is contained in:
parent
9a7ee00bbf
commit
97e588a5ad
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user