mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-24 06:22:20 +08:00
卸载安装包时,将pkg-name转换为小写
This commit is contained in:
parent
8f6e5408ae
commit
ed64eb6f5b
@ -988,7 +988,7 @@ void Widget::on_pushButton_uninstall_clicked()
|
||||
ui->pushButton_download->setEnabled(false);
|
||||
ui->pushButton_uninstall->setEnabled(false);
|
||||
QProcess uninstall;
|
||||
uninstall.start("pkexec apt purge -y "+pkgName);
|
||||
uninstall.start("pkexec apt purge -y "+pkgName.toLower());
|
||||
uninstall.waitForFinished();
|
||||
ui->pushButton_download->setEnabled(true);
|
||||
ui->pushButton_download->setText("Install");
|
||||
|
Loading…
x
Reference in New Issue
Block a user