From 2a17547da3748a047d5ad5d4a5964ac5550a54d2 Mon Sep 17 00:00:00 2001 From: Bail <2915289604@qq.com> Date: Fri, 28 Jul 2023 17:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=9B=BE=E6=A0=87=E6=97=B6activity=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.py b/mainwindow.py index 66be878..202943e 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1470,9 +1470,9 @@ class AddNewUengineDesktopLink(): global activityName iconSavePath = "{}/.local/share/icons/hicolor/256x256/apps/{}.png".format(get_home(), packageName.text()) shutil.copy(programPath + "/defult.png", iconSavePath) - BuildUengineDesktop(packageName.text(), activityName, packageName.text(), iconSavePath, + BuildUengineDesktop(packageName.text(), activityName.text(), packageName.text(), iconSavePath, "{}/.local/share/applications/uengine/{}.desktop".format(get_home(), packageName.text())) - BuildUengineDesktop(packageName.text(), activityName, packageName.text(), iconSavePath, + BuildUengineDesktop(packageName.text(), activityName.text(), packageName.text(), iconSavePath, "{}/{}.desktop".format(get_desktop_path(), packageName.text())) AddNewUengineDesktopLink.SaveHistory() QtWidgets.QMessageBox.information(widget, "提示", "创建完毕!")