From d57c43a2b78cfe62787924b070719f73d5655e92 Mon Sep 17 00:00:00 2001 From: shenmo <jifengshenmo@outlook.com> Date: Tue, 7 Mar 2023 19:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=81=E5=AF=86=E9=A9=AC=E8=B5=9B=EF=BC=8C?= =?UTF-8?q?=E5=BF=98=E8=AE=B0=E7=A9=BA=E6=A0=BC=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 1 + src/widgets/common/downloaditem.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e7df9bc..dd230a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ spark-store (4.2.3.2~Reason5) stable; urgency=medium * aptss 支持非root模式启动 * aptss 添加transhell支持 * 关于界面自动获取分支名称 + * 现在安装成功则自动删除安装包 -- shenmo <shenmo@spark-app.store> spark-store (4.2.3.2~Reason3) stable; urgency=medium diff --git a/src/widgets/common/downloaditem.cpp b/src/widgets/common/downloaditem.cpp index 4b25a7a..c92daca 100644 --- a/src/widgets/common/downloaditem.cpp +++ b/src/widgets/common/downloaditem.cpp @@ -175,7 +175,7 @@ void DownloadItem::slotAsyncInstall(int t) switch(t) { case 0: - installer.start("pkexec", QStringList() << "ssinstall" << "/tmp/spark-store/" + ui->label_filename->text().toUtf8() + "--delete-after-install"); + installer.start("pkexec", QStringList() << "ssinstall" << "/tmp/spark-store/" + ui->label_filename->text().toUtf8() + " " + "--delete-after-install"); break; case 1: installer.start("deepin-deb-installer", QStringList() << "/tmp/spark-store/" + ui->label_filename->text().toUtf8());