即将打包

This commit is contained in:
2022-06-21 10:01:24 +08:00
parent 9660c8fb72
commit 3f9aa55d8d
13 changed files with 696 additions and 392 deletions

View File

@@ -1,9 +1,9 @@
Package: com.gitee.uengine.runner.spark
Replaces: spark-uengine-runner
Breaks: spark-uengine-runner
Source: com.gitee.uengine.runner.spark
Version: 1.6.2
Replaces: spark-uengine-runner
Version: 1.6.2Alpha2
Architecture: all
Section: utils
Maintainer: gfdgd xi <3025613752@qq.com>, actionchen<917981399@qq.com>, 柚子<https://gitee.com/Limexb>, 为什么您不喜欢熊出没和阿布呢<https://weibo.com/u/7755040136>, 星空露光<https://gitee.com/Cynorkyle>, shenmo<jifengshenmo@outlook.com>
Depends: deepin-elf-verify (>= 0.0.16.7-1), python3, python3-tk, python3-pip, aapt, python3-setuptools, deepin-terminal, curl, python3-pil, python3-pil.imagetk, python3-requests, adb, translate-shell, python3-xlib, fonts-noto-cjk, python3-numpy, python3-matplotlib, wget, inotify-tools, aria2, uengine
Priority: optional

View File

@@ -21,4 +21,4 @@ ln -s /opt/apps/com.gitee.uengine.runner.spark/files/root-uengine
# 因为 Ubuntu 的问题,省略
# gtk-update-icon-cache /usr/share/icons/bloom
# 向服务器返回安装数加1不显示内容且忽略错误
curl http://120.25.153.144/uengine-runner/Install.php?Version=1.6.1 -s > /dev/null | true
curl http://120.25.153.144/uengine-runner/Install.php?Version=1.6.2 -s > /dev/null | true

View File

@@ -2,7 +2,7 @@
Categories=System;
Comment=UEngine 程序菜单
Encoding=UTF-8
Exec=/usr/bin/uengine launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
Exec=/usr/bin/uengine-runner-launch.sh
Icon=/opt/apps/com.gitee.uengine.runner.spark/files/menu.svg
MimeType=
Name=UEngine App List

View File

@@ -4,7 +4,7 @@
"https://gitee.com/gfdgd-xi/uengine-runner",
"https://github.com/gfdgd-xi/uengine-runner"
],
"Version": "1.6.2 Alpha",
"Version": "1.6.2",
"System": "Linuxdeepin/UOS",
"Tips": [
"更多可见https://gitee.com/gfdgd-xi/uengine-runner/wikis",
@@ -26,7 +26,8 @@
"※1、优化了 UEngine 运行器的英语翻译",
"※2、新增加了可以打开或关闭第三方应用安装的功能使用此功能后在UEngine里可以使用默认的APK安装程序安装应用此操作需要使用程序的Adb补丁",
"※3、新增加了 UEngine 的 Ubuntu 安装程序",
"4、修复了本程序在 Ubuntu 上安装和卸载报错无法继续的问题",
"4、双包合一只保留了UOS打包标准可以从旧标准无缝升级推荐使用本程序的升级程序进行升级",
"5、修复了本程序在 Ubuntu 上安装和卸载报错而无法继续的问题",
"V1.6.1",
"※1、修复了打包 deb 包在 APK 的包名有大写时无法启动的问题",
"※2、提供新版本的 UEngine Root 镜像",

View File

@@ -2,8 +2,8 @@
# 使用系统默认的 python3 运行
###########################################################################################
# 作者gfdgd xi<3025613752@qq.com>
# 版本1.6.2 Alpha
# 更新时间2022年6月19日(要期末考试了)
# 版本1.6.2
# 更新时间2022年6月20日(要期末考试了)
# 感谢anbox、deepin 和 UOS
# 基于 Python3 的 tkinter 构建
# 更新gfdgd xi<3025613752@qq.com>、actionchen<917981399@qq.com>、为什么您不喜欢熊出没和阿布呢
@@ -18,7 +18,6 @@ import time
import json
import shutil
import zipfile
import ctypes
import traceback
import threading
import easygui
@@ -1244,12 +1243,14 @@ def showhelp():
screen_width = helpwindow.winfo_screenwidth()
screen_height = helpwindow.winfo_screenheight()
# calculate position x and y coordinates 假设主窗口大小固定 570x236像素 ,设置窗口位置为屏幕中心。
winwith=550
winhigh=700
x = (screen_width/2) - (winwith/2)
y = (screen_height/2) - (winhigh/2)
helpwindow.geometry("550x700"+"+{:.0f}+{:.0f}".format(x, y))
if not helpwindow.winfo_screenheight() > 1080:
helpwindow.geometry(f"{winwith}x{winhigh}"+"+{:.0f}+{:.0f}".format(x, y))
style = ttkthemes.ThemedStyle(helpwindow)
style.set_theme("breeze")