Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
2022-10-12 09:31:38 +08:00
2 changed files with 1 additions and 2 deletions

View File

@@ -1128,7 +1128,7 @@ void Widget::on_pushButton_uninstall_clicked()
QProcess uninstall;
uninstall.start("pkexec", QStringList() << "apt" << "purge" << "-y" << pkgName.toLower());
uninstall.waitForFinished(180); // 默认超时 3 分钟
uninstall.waitForFinished(-1); // 默认无限时长
QProcess check;
check.start("dpkg", QStringList() << "-s" << pkgName.toLower());