1.4.2
This commit is contained in:
1
build/usr/bin/uengine-useadb
Symbolic link
1
build/usr/bin/uengine-useadb
Symbolic link
@@ -0,0 +1 @@
|
||||
/opt/apps/uengine-runner/uengine-useadb
|
||||
@@ -1,11 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Categories=System;
|
||||
Comment=uengine(anbox) 程序菜单
|
||||
Comment=UEngine 程序菜单
|
||||
Encoding=UTF-8
|
||||
Exec=/usr/bin/uengine-launch.sh --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
|
||||
Icon=/opt/apps/uengine-runner/icon.png
|
||||
MimeType=
|
||||
Name=uengine 程序菜单
|
||||
StartupWMClass=uengine 程序菜单
|
||||
Name=UEngine 程序菜单
|
||||
StartupWMClass=UEngine 程序菜单
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
||||
11
build/usr/share/applications/UengineAndroidSetting.desktop
Normal file
11
build/usr/share/applications/UengineAndroidSetting.desktop
Normal file
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Categories=System;
|
||||
Comment=UEngine 系统设置
|
||||
Encoding=UTF-8
|
||||
Exec=/usr/bin/uengine-launch.sh --action=android.intent.action.MAIN --package=com.android.settings --component=com.android.settings.Settings
|
||||
Icon=/opt/apps/uengine-runner/icon.png
|
||||
MimeType=
|
||||
Name=UEngine 系统设置
|
||||
StartupWMClass=UEngine 系统设置
|
||||
Terminal=false
|
||||
Type=Application
|
||||
@@ -5,10 +5,10 @@ Categories=System;
|
||||
Terminal=false
|
||||
Exec=/usr/bin/uengine-runner -i %F
|
||||
Icon=/opt/apps/uengine-runner/icon.png
|
||||
Name=Install APK(uengine runner)
|
||||
Comment=Install APK(uengine runner)
|
||||
Comment[zh]=安装 APK(uengine 运行器)
|
||||
Name[zh]=安装 APK(uengine 运行器)
|
||||
Name=Install APK(UEngine runner)
|
||||
Comment=Install APK(UEngine runner)
|
||||
Comment[zh]=安装 APK(UEngine 运行器)
|
||||
Name[zh]=安装 APK(UEngine 运行器)
|
||||
StartupNotify=true
|
||||
Hidden=false
|
||||
NoDisplay=true
|
||||
|
||||
@@ -5,10 +5,10 @@ Categories=System;
|
||||
Terminal=false
|
||||
Exec=/usr/bin/uengine-runner -u %F
|
||||
Icon=/opt/apps/uengine-runner/icon.png
|
||||
Name=Uninstall APK(uengine runner)
|
||||
Comment=Uninstall APK(uengine runner)
|
||||
Comment[zh]=卸载 APK(uengine 运行器)
|
||||
Name[zh]=卸载 APK(uengine 运行器)
|
||||
Name=Uninstall APK(UEngine runner)
|
||||
Comment=Uninstall APK(UEngine runner)
|
||||
Comment[zh]=卸载 APK(UEngine 运行器)
|
||||
Name[zh]=卸载 APK(UEngine 运行器)
|
||||
StartupNotify=true
|
||||
Hidden=false
|
||||
NoDisplay=true
|
||||
|
||||
@@ -6,8 +6,8 @@ Terminal=false
|
||||
Exec=/usr/bin/uengine-runner
|
||||
Icon=/opt/apps/uengine-runner/icon.png
|
||||
Name=uengine runner
|
||||
Comment=uengine runner
|
||||
Comment[zh]=uengine 运行器
|
||||
Name[zh]=uengine 运行器
|
||||
Comment=UEngine Runner
|
||||
Comment[zh]=UEngine 运行器
|
||||
Name[zh]=UEngine 运行器
|
||||
StartupNotify=true
|
||||
MimeType=
|
||||
@@ -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.env">
|
||||
<message>Authentication is required to Run App</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/env</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
||||
21
build/usr/share/polkit-1/actions/com.deepin.pkexec.rm.policy
Normal file
21
build/usr/share/polkit-1/actions/com.deepin.pkexec.rm.policy
Normal 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.rm">
|
||||
<message>Authentication is required to Delete Files</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/rm</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
||||
@@ -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://github.com/gfdgd-xi/uengine-runner/</vendor_url>
|
||||
<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>kbox</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/uengine-bridge.sh</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
||||
@@ -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.uengine-session-launch-helper">
|
||||
<message>Authentication is required to Change UEngine</message>
|
||||
<message xml:lang="zh_CN">设置 UEngine 需要输入密码</message>
|
||||
<icon_name>kbox</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/uengine-session-launch-helper</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
||||
Reference in New Issue
Block a user