Files
spark-store/extras/store.spark-app.amber-pm-store.policy

19 lines
894 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"https://specifications.freedesktop.org/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>AmberPM</vendor>
<icon_name>x-package-repository</icon_name>
<action id="store.spark-app.amber-pm-store">
<description>运行apm-app-store管理软件需要权限</description>
<message>要使用apm-app-store管理软件需要权限</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/opt/apm-app-store/extras/shell-caller.sh</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>