forked from elementary/code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.policy.in.in
20 lines (20 loc) · 932 Bytes
/
code.policy.in.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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.0/policyconfig.dtd">
<policyconfig>
<vendor>elementary</vendor>
<vendor_url>https://github.com/elementary/code</vendor_url>
<icon_name>io.elementary.code</icon_name>
<action id="org.freedesktop.policykit.pkexec.io.elementary.code">
<description>Run Code as Administrator</description>
<message>Authentication is required to run Code as Administrator</message>
<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">@install_prefix@/@bin_dir@/@exec_name@</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>