wireguird/deb/usr/share/polkit-1/actions/wireguird.policy
UnnoTed c2990d0c93 v0.1
add deb package
add basic logs
2021-02-28 21:47:03 +01:00

19 lines
821 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.wireguird">
<description>Wireguard GUI</description>
<message>Authentication is required to run wireguird</message>
<!-- <icon_name>accessories-text-editor</icon_name> -->
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/opt/wireguird/wireguird</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>