-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathio.aosc.amo.apply.policy
More file actions
24 lines (21 loc) · 1.02 KB
/
io.aosc.amo.apply.policy
File metadata and controls
24 lines (21 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
<policyconfig>
<vendor>Anthon Open Source Community</vendor>
<vendor_url>https://github.com/AOSC-Dev/amo</vendor_url>
<action id="io.aosc.Amo.apply.run">
<description>Apply package changes</description>
<description xml:lang="zh_CN">应用软件包修改</description>
<message>Authentication is required to apply changes to system packages</message>
<message xml:lang="zh_CN">应用系统软件包修改需要授权</message>
<icon_name>preferences-system</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">/usr/bin/amo</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>