mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-20 20:42:21 +08:00
update src/pages/appintopage.cpp.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
b54c797ce5
commit
83540e1c55
@ -133,7 +133,7 @@ void AppIntoPage::openUrl(const QUrl &url)
|
||||
bool isInstalled;
|
||||
bool isUpdated;
|
||||
QString packagename = info["Pkgname"].toString();
|
||||
isInstall.start("dpkg", QStringList() << "-s" << info["Pkgname"].toString());
|
||||
isInstall.start("/opt/durapps/spark-store/bin/store-helper/check-is-installed", QStringList() << info["Pkgname"].toString());
|
||||
qDebug() << info["Pkgname"].toString();
|
||||
isInstall.waitForFinished(180 * 1000); // 默认超时 3 分钟
|
||||
int error = QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
|
||||
|
Loading…
x
Reference in New Issue
Block a user