chore:添加更新器的policy
This commit is contained in:
parent
0c3151948c
commit
9bf8ff8c50
|
@ -0,0 +1,16 @@
|
|||
<?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="com.spark.update">
|
||||
<description>Run the Spark Update Tool</description>
|
||||
<message>Authentication is required to update the system</message>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/spark-update-tool</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
<defaults>
|
||||
<allow_active>yes</allow_active>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
</defaults>
|
||||
</action>
|
||||
</policyconfig>
|
Loading…
Reference in New Issue