From f41036441c7ce03915ab6c1e7a80096db8728989 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Thu, 12 Jan 2023 22:29:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 11 +- UI/KeyAddGui.py | 85 ------------ UI/KeyAddGui.ui | 127 ----------------- UI/KeyAddKeyboardGui.py | 86 ------------ UI/KeyAddKeyboardGui.ui | 130 ------------------ UI/__pycache__/AutoConfig.cpython-310.pyc | Bin 2603 -> 0 bytes UI/__pycache__/AutoConfig.cpython-37.pyc | Bin 3820 -> 0 bytes UI/__pycache__/KeyAddGui.cpython-37.pyc | Bin 3123 -> 0 bytes .../KeyAddKeyboardGui.cpython-37.pyc | Bin 2674 -> 0 bytes api/__init__.py | 11 +- wayland.sh => run-program-without-wayland.sh | 1 + 11 files changed, 15 insertions(+), 436 deletions(-) delete mode 100755 UI/KeyAddGui.py delete mode 100755 UI/KeyAddGui.ui delete mode 100755 UI/KeyAddKeyboardGui.py delete mode 100755 UI/KeyAddKeyboardGui.ui delete mode 100755 UI/__pycache__/AutoConfig.cpython-310.pyc delete mode 100644 UI/__pycache__/AutoConfig.cpython-37.pyc delete mode 100644 UI/__pycache__/KeyAddGui.cpython-37.pyc delete mode 100755 UI/__pycache__/KeyAddKeyboardGui.cpython-37.pyc rename wayland.sh => run-program-without-wayland.sh (87%) diff --git a/Makefile b/Makefile index d05a7e7..e70b00f 100755 --- a/Makefile +++ b/Makefile @@ -20,8 +20,8 @@ build: cp -rv uengine-app-setting.py new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv uengine-app-install new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv uengine_logo.svg new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ - cp -rv defult.svg new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ - cp -rv defult.png new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + cp -rv defult.svg new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + cp -rv defult.png new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv runner.svg new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv root-uengine.sh new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv menu.svg new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ @@ -34,7 +34,12 @@ build: cp -rv Download.py new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv updatekiller.py new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv pkexec/* new-deb-build/usr/share/polkit-1/actions - python3 RemovePycacheFile.py + cp -rv AutoShell new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + cp -rv UI new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + cp -rv ConfigLanguareRunner-help.json new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + cp -rv ConfigLanguareRunner.py new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + cp -rv run-program-without-wayland.sh new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ + python3 RemovePycacheFile.py new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/ cp -rv new-deb-build /tmp/uengine-runner-builder sudo chown -R root:root /tmp/uengine-runner-builder dpkg -b /tmp/uengine-runner-builder com.gitee.uengine.runner.spark.deb diff --git a/UI/KeyAddGui.py b/UI/KeyAddGui.py deleted file mode 100755 index 45e7d8c..0000000 --- a/UI/KeyAddGui.py +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'KeyAddGui.ui' -# -# Created by: PyQt5 UI code generator 5.11.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_MainWindow(object): - def setupUi(self, MainWindow): - MainWindow.setObjectName("MainWindow") - MainWindow.resize(692, 314) - self.centralwidget = QtWidgets.QWidget(MainWindow) - self.centralwidget.setObjectName("centralwidget") - self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget) - self.verticalLayout.setObjectName("verticalLayout") - self.tips = QtWidgets.QLabel(self.centralwidget) - self.tips.setObjectName("tips") - self.verticalLayout.addWidget(self.tips) - self.keyBoardList = QtWidgets.QListView(self.centralwidget) - self.keyBoardList.setObjectName("keyBoardList") - self.verticalLayout.addWidget(self.keyBoardList) - self.horizontalLayout = QtWidgets.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem) - self.addButton = QtWidgets.QPushButton(self.centralwidget) - self.addButton.setObjectName("addButton") - self.horizontalLayout.addWidget(self.addButton) - self.editButton = QtWidgets.QPushButton(self.centralwidget) - self.editButton.setObjectName("editButton") - self.horizontalLayout.addWidget(self.editButton) - self.delectButton = QtWidgets.QPushButton(self.centralwidget) - self.delectButton.setObjectName("delectButton") - self.horizontalLayout.addWidget(self.delectButton) - self.verticalLayout.addLayout(self.horizontalLayout) - MainWindow.setCentralWidget(self.centralwidget) - self.menuBar = QtWidgets.QMenuBar(MainWindow) - self.menuBar.setGeometry(QtCore.QRect(0, 0, 692, 33)) - self.menuBar.setObjectName("menuBar") - self.menu = QtWidgets.QMenu(self.menuBar) - self.menu.setObjectName("menu") - MainWindow.setMenuBar(self.menuBar) - self.action = QtWidgets.QAction(MainWindow) - self.action.setObjectName("action") - self.serverTips = QtWidgets.QAction(MainWindow) - self.serverTips.setEnabled(False) - self.serverTips.setObjectName("serverTips") - self.startServer = QtWidgets.QAction(MainWindow) - self.startServer.setObjectName("startServer") - self.stopServer = QtWidgets.QAction(MainWindow) - self.stopServer.setObjectName("stopServer") - self.setAutoStart = QtWidgets.QAction(MainWindow) - self.setAutoStart.setObjectName("setAutoStart") - self.setUnautoStart = QtWidgets.QAction(MainWindow) - self.setUnautoStart.setObjectName("setUnautoStart") - self.menu.addAction(self.serverTips) - self.menu.addSeparator() - self.menu.addAction(self.startServer) - self.menu.addAction(self.stopServer) - self.menu.addSeparator() - self.menu.addAction(self.setAutoStart) - self.menu.addAction(self.setUnautoStart) - self.menuBar.addAction(self.menu.menuAction()) - - self.retranslateUi(MainWindow) - QtCore.QMetaObject.connectSlotsByName(MainWindow) - - def retranslateUi(self, MainWindow): - _translate = QtCore.QCoreApplication.translate - MainWindow.setWindowTitle(_translate("MainWindow", "编辑快捷键")) - self.tips.setText(_translate("MainWindow", "

此工具可以用于设置快捷键到 Wine 容器的映射,以便 Wine 程序可以正常的使用快捷键
Deepin/UOS将会使用默认的快捷键服务,其它发行版将使用此运行器提供的快捷键服务
Deepin/UOS将只会提供快捷键添加功能,请在控制中心进行快捷键的修改管理

")) - self.addButton.setText(_translate("MainWindow", "添加")) - self.editButton.setText(_translate("MainWindow", "编辑")) - self.delectButton.setText(_translate("MainWindow", "删除")) - self.menu.setTitle(_translate("MainWindow", "设置快捷键服务")) - self.action.setText(_translate("MainWindow", "关于")) - self.serverTips.setText(_translate("MainWindow", "此内容只支持非Deepin/UOS发行版")) - self.startServer.setText(_translate("MainWindow", "启动服务")) - self.stopServer.setText(_translate("MainWindow", "停止服务")) - self.setAutoStart.setText(_translate("MainWindow", "设置开机自启")) - self.setUnautoStart.setText(_translate("MainWindow", "关闭开机自启动")) - diff --git a/UI/KeyAddGui.ui b/UI/KeyAddGui.ui deleted file mode 100755 index a0869ec..0000000 --- a/UI/KeyAddGui.ui +++ /dev/null @@ -1,127 +0,0 @@ - - - MainWindow - - - - 0 - 0 - 692 - 314 - - - - 编辑快捷键 - - - - - - - <html><head/><body><p>此工具可以用于设置快捷键到 Wine 容器的映射,以便 Wine 程序可以正常的使用快捷键<br/>Deepin/UOS将会使用默认的快捷键服务,其它发行版将使用此运行器提供的快捷键服务<br>Deepin/UOS将只会提供快捷键添加功能,请在控制中心进行快捷键的修改管理</p></body></html> - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - 添加 - - - - - - - 编辑 - - - - - - - 删除 - - - - - - - - - - - 0 - 0 - 692 - 33 - - - - - 设置快捷键服务 - - - - - - - - - - - - - - 关于 - - - - - false - - - 此内容只支持非Deepin/UOS发行版 - - - - - 启动服务 - - - - - 停止服务 - - - - - 设置开机自启 - - - - - 关闭开机自启动 - - - - - - diff --git a/UI/KeyAddKeyboardGui.py b/UI/KeyAddKeyboardGui.py deleted file mode 100755 index 5e4e12c..0000000 --- a/UI/KeyAddKeyboardGui.py +++ /dev/null @@ -1,86 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'KeyAddKeyboardGui.ui' -# -# Created by: PyQt5 UI code generator 5.11.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_MainWindow(object): - def setupUi(self, MainWindow): - MainWindow.setObjectName("MainWindow") - MainWindow.resize(800, 195) - icon = QtGui.QIcon.fromTheme("..") - MainWindow.setWindowIcon(icon) - self.centralwidget = QtWidgets.QWidget(MainWindow) - self.centralwidget.setObjectName("centralwidget") - self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget) - self.verticalLayout.setObjectName("verticalLayout") - self.addTips = QtWidgets.QLabel(self.centralwidget) - self.addTips.setObjectName("addTips") - self.verticalLayout.addWidget(self.addTips) - self.horizontalLayout_3 = QtWidgets.QHBoxLayout() - self.horizontalLayout_3.setObjectName("horizontalLayout_3") - self.exeNameTips = QtWidgets.QLabel(self.centralwidget) - self.exeNameTips.setObjectName("exeNameTips") - self.horizontalLayout_3.addWidget(self.exeNameTips) - self.exeName = QtWidgets.QLineEdit(self.centralwidget) - self.exeName.setObjectName("exeName") - self.horizontalLayout_3.addWidget(self.exeName) - self.verticalLayout.addLayout(self.horizontalLayout_3) - self.horizontalLayout = QtWidgets.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.localTips = QtWidgets.QLabel(self.centralwidget) - self.localTips.setObjectName("localTips") - self.horizontalLayout.addWidget(self.localTips) - self.localKeyboardChoose = QtWidgets.QComboBox(self.centralwidget) - self.localKeyboardChoose.setObjectName("localKeyboardChoose") - self.horizontalLayout.addWidget(self.localKeyboardChoose) - self.addTips_2 = QtWidgets.QLabel(self.centralwidget) - self.addTips_2.setObjectName("addTips_2") - self.horizontalLayout.addWidget(self.addTips_2) - self.localKey = QtWidgets.QLineEdit(self.centralwidget) - self.localKey.setObjectName("localKey") - self.horizontalLayout.addWidget(self.localKey) - self.wineTips = QtWidgets.QLabel(self.centralwidget) - self.wineTips.setObjectName("wineTips") - self.horizontalLayout.addWidget(self.wineTips) - self.wineKeyboardChoose = QtWidgets.QComboBox(self.centralwidget) - self.wineKeyboardChoose.setObjectName("wineKeyboardChoose") - self.horizontalLayout.addWidget(self.wineKeyboardChoose) - self.addTipsWine = QtWidgets.QLabel(self.centralwidget) - self.addTipsWine.setObjectName("addTipsWine") - self.horizontalLayout.addWidget(self.addTipsWine) - self.wineKey = QtWidgets.QLineEdit(self.centralwidget) - self.wineKey.setObjectName("wineKey") - self.horizontalLayout.addWidget(self.wineKey) - self.verticalLayout.addLayout(self.horizontalLayout) - spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem) - self.horizontalLayout_2 = QtWidgets.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem1) - self.addButton = QtWidgets.QPushButton(self.centralwidget) - self.addButton.setObjectName("addButton") - self.horizontalLayout_2.addWidget(self.addButton) - self.verticalLayout.addLayout(self.horizontalLayout_2) - MainWindow.setCentralWidget(self.centralwidget) - - self.retranslateUi(MainWindow) - QtCore.QMetaObject.connectSlotsByName(MainWindow) - - def retranslateUi(self, MainWindow): - _translate = QtCore.QCoreApplication.translate - MainWindow.setWindowTitle(_translate("MainWindow", "添加快捷键")) - self.addTips.setText(_translate("MainWindow", "暂时只支持特定组合\n" -"文本框内的只能输入单字母")) - self.exeNameTips.setText(_translate("MainWindow", "可这执行文件名称:")) - self.localTips.setText(_translate("MainWindow", "本地映射:")) - self.addTips_2.setText(_translate("MainWindow", "+")) - self.wineTips.setText(_translate("MainWindow", "Wine 容器映射内容:")) - self.addTipsWine.setText(_translate("MainWindow", "+")) - self.addButton.setText(_translate("MainWindow", "添加快捷键")) - diff --git a/UI/KeyAddKeyboardGui.ui b/UI/KeyAddKeyboardGui.ui deleted file mode 100755 index b6eb4bc..0000000 --- a/UI/KeyAddKeyboardGui.ui +++ /dev/null @@ -1,130 +0,0 @@ - - - MainWindow - - - - 0 - 0 - 800 - 195 - - - - 添加快捷键 - - - - ../../../.designer/backup../../../.designer/backup - - - - - - - 暂时只支持特定组合 -文本框内的只能输入单字母 - - - - - - - - - 可这执行文件名称: - - - - - - - - - - - - - - 本地映射: - - - - - - - - - - + - - - - - - - - - - Wine 容器映射内容: - - - - - - - - - - + - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - 添加快捷键 - - - - - - - - - - - diff --git a/UI/__pycache__/AutoConfig.cpython-310.pyc b/UI/__pycache__/AutoConfig.cpython-310.pyc deleted file mode 100755 index bbf0dfbe8815d7bfbc44d02f5b412bd4f8cb7d9e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2603 zcmZuzTW=dh6y9C0udy9Bx8BmyKyLxuR0$y@2w` zNR`^srbti;2~|}dZ0JLZN`-)jHWYryzEV5QQ{Q>woZ0opDP3#FXTI~zIcF~C%vz~b zLV_oJHdf5GOVU5sX?;}aoPpOq2@R2mT$0MNCYKdWDTlO>ES;B#LPFOi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b/UI/__pycache__/AutoConfig.cpython-37.pyc deleted file mode 100644 index 7cb1f2ce457fd63f150e6994e9cdfd5aa51bd888..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3820 zcmbtX-E$My72nmjWXT`04F>aJu-jlLmOlcdolYm%4U`#hts0WfPG{7$_F}D(cGauh zU^DIvQ=DLj0G@s@E#*N<{a`W)>7?xh1nKnexUaQj`zh~z>N)pbtu3c%A1ciro%1`t zd+xb+@1C<7Pb6Xrd>(ZDBYXUyqWlw$#wP&En{bs*fG`w8%_{{}Qwu)LSMY0oRk^4b zKEuDH7=9AClU|JarZUb8x^s`XfnXoBg!L)PHHCZ(6yki=(#3^Nw(D?X3c@wVE zArM5-R725xhHChh6wPn=jR5=xj35LKvBWhqb453;cTCH$Z)R~Qe*ADn;F^G|^ef1E zQ7uEZ6;(wILK*&wPgNXW*}n+rqLK+LDsutg1ds!G5N+-WfffQ!PZ&VVr zB#h$of*vYk7D*Xhtf3Q-PT;giw9AMa3CB0rJ-3g`{guEkeVo&?=#!kCybgfp0E}*x znRN0Q4t$Mw5O@cH*T`7#4t|Z-3%p+7wKv7am3hczFTckl>cN6JT? zzVb1n1HL{ZS>YUxD+V76{NrfzJKGOhKg`%ABkgzwz%u}zZuG#3`IZ>N=liyt?=`?) z1I|7cX5V+1N+sq_7UKW?Ba|7=ja~JC~!u1aYoCh zjXvaXTrrOA;g116wu?UoF^@}rfBALrp7g9U6@|wU_z8&*aMr0NYpBUeHCe+=)@YM8 z)?|%H>jv7J(7_Cbv@e+mVQC9=eF zsGh&cYawfYmr%#d>iNt1g6%q)G1i{5sd>w`oCd~XC8E=8?y6ZVvAEQ8rZtO}PQWv6 zJC1ENc$dwR!;*WWWJb5KjBj^=Uj1IP^*h~>`c zlm$>>A(WX>7Sv}TU)DnAO=pVQvs5pzK#t^#EMgalb-~P&t1O{s9n-chnoi!dZm<^5 zB!tC1Bj?UET$xK#@1A8L;kv*gLV@WT+SuUtSfWInAJ5E@tT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`wV#_e9yG6hv3BK&e}84|>5_l_>sa&q zubQ{-HCHeDmoKfYECFc!;_vH!eCuDj<1c^b|9Z3eV7WF7M*M3J)}P&KUb(xzdKHxZ zdHTq|zPxt#;lIDF2*3&0msc&XN>PQp0D0}9=ZwzquZ_s^ znAx_;6Ix6=P>zQ?4#UABR@8`^R8v|?ZT%L9Hz&%bf}4a|ikM~vs>(FIm}!=6QY#_d zWtyMW@+Bc*JHaw{^n!D&E5>(#d4^rc!KM~bBOfs2OlCqx@YF)ieV50H_eI|JypYYi WCP%%>pci>h?Bjjxf(|x?wDunnqT4Y5 diff --git a/api/__init__.py b/api/__init__.py index 9409c47..abd242c 100755 --- a/api/__init__.py +++ b/api/__init__.py @@ -45,9 +45,9 @@ class APK: def __init__(self, apkPath): self.apkPath = apkPath def install(self): - os.system("pkexec /usr/bin/uengine-session-launch-helper -- uengine install --apk='{}'".format(self.apkPath)) + return os.system("uengine install --apk='{}'".format(self.apkPath)) def uninstall(self): - os.system("pkexec /usr/bin/uengine-session-launch-helper -- uengine uninstall --pkg='{}'".format(self.packageName())) + return os.system("uengine uninstall --pkg='{}'".format(self.packageName())) def information(self): return subprocess.getoutput("aapt dump badging '{}'".format(self.apkPath)) def activityName(self): @@ -362,10 +362,11 @@ class UengineRunner: if __name__ == "__main__": print("本 API 不支持直接运行,请通过引入的方式使用此 API") - adb = Adb("192.168.250.2:5555") - print(adb.boolAndroidInstallOtherAppSetting()) + #adb = Adb("192.168.250.2:5555") + #print(adb.boolAndroidInstallOtherAppSetting()) quit() if not ROOT.GetRoot(): - print("请获取 ROOT 权限以便更好的使用该 API") \ No newline at end of file + pass + #print("请获取 ROOT 权限以便更好的使用该 API") \ No newline at end of file diff --git a/wayland.sh b/run-program-without-wayland.sh similarity index 87% rename from wayland.sh rename to run-program-without-wayland.sh index f3e313f..2ffe898 100644 --- a/wayland.sh +++ b/run-program-without-wayland.sh @@ -1,3 +1,4 @@ +#!/bin/bash export XDG_SESSION_TYPE=x11 export QT_QPA_PLATFORM=xcb unset WAYLAND_DISPLAYCOPY