chore:添加更新器的policy

This commit is contained in:
momen 2025-07-14 23:39:23 +08:00
parent 0c3151948c
commit 9bf8ff8c50
1 changed files with 16 additions and 0 deletions

View File

@ -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>