初步实现版本号切割

This commit is contained in:
2024-05-18 15:36:03 +08:00
parent ee34925def
commit ebe3473d15
5 changed files with 112 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ void KernelInformation::LoadInfo()
QJsonArray array;
AptPkgInfo kernelManagerinfo = AptPkgInfo("gxde-kernel-manager", AptPkgInfo::PkgSearchOption::Equal);
QStringList list = kernelManagerinfo.GetAptPackageList();
qDebug() << kernelManagerinfo.get_data();
for(QString i: list) {
QJsonObject object;
kernelManagerinfo.SetPkgName(i);