mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
修改终端为默认终端
This commit is contained in:
@@ -60,7 +60,6 @@ void downloadlist::setFileName(QString fileName)
|
||||
|
||||
void downloadlist::on_pushButton_clicked()
|
||||
{
|
||||
// system("deepin-terminal -e \"sudo dpkg -i ./"+ui->label_filename->text().toUtf8()+" ; sudo apt install -f\"");
|
||||
system("deepin-terminal -e sudo apt install -y ./"+ui->label_filename->text().toUtf8());
|
||||
system("x-terminal-emulator -e sudo apt install -y ./"+ui->label_filename->text().toUtf8());
|
||||
qDebug()<<ui->label_filename->text().toUtf8();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user