fix: 将aptss升级失败的错误提示从弹窗改为日志输出

This commit is contained in:
2026-04-05 22:50:45 +08:00
parent 593cb8ea75
commit a1e0d7f301

View File

@@ -330,7 +330,7 @@ void MainWindow::runAptssUpgrade()
}
if (!process.waitForStarted(5000)) {
QMessageBox::warning(this, "升级失败", "无法启动 aptss ssupdate");
qDebug() << "无法启动 aptss ssupdate";
return;
}
process.write("n\n");
@@ -344,7 +344,7 @@ void MainWindow::runAptssUpgrade()
}
if (process.exitCode() != 0) {
QMessageBox::warning(this, "升级失败", "执行 aptss ssupdate 失败,请检查系统环境或稍后再试。");
qDebug() << "执行 aptss ssupdate 失败,请检查系统环境或稍后再试。";
}
} else {
qDebug() << "aptss命令不存在跳过aptss ssupdate";