This commit is contained in:
2021-10-05 18:16:50 +08:00
parent 655b45de4d
commit ac677c1bb1
38 changed files with 1097 additions and 158 deletions

View File

@@ -0,0 +1,21 @@
<?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>
<vendor>gfdgd xi</vendor>
<vendor_url>https://gitee.com/gfdgd-xi/uengine-runner/</vendor_url>
<action id="com.deepin.pkexec.apt">
<message>Authentication is required to Install or Reinstall Program</message>
<message xml:lang="zh_CN">安装或卸载软件需要输入密码</message>
<icon_name>preferences-system</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/apt</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

View File

@@ -8,7 +8,7 @@
<action id="com.deepin.pkexec.uengine-bridge">
<message>Authentication is required to Setting UEngine Internet Bridge</message>
<message xml:lang="zh_CN">设置 UEngine 桥接需要输入密码</message>
<icon_name>/usr/share/uengine/ui/uengine_logo.svg</icon_name>
<icon_name>uengine</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>

View File

@@ -8,7 +8,7 @@
<action id="com.deepin.pkexec.uengine-session-launch-helper">
<message>Authentication is required to Change UEngine</message>
<message xml:lang="zh_CN">设置 UEngine 需要输入密码</message>
<icon_name>/usr/share/uengine/ui/uengine_logo.svg</icon_name>
<icon_name>uengine</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>