mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
完善了APT包管理器后端的功能,基本实现安装
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "spkpkgmgrbase.h"
|
||||
#include <QProcess>
|
||||
|
||||
class SpkPkgMgrApt : public SpkPkgMgrBase
|
||||
class SpkPkgMgrApt final : public SpkPkgMgrBase
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -21,10 +22,15 @@ class SpkPkgMgrApt : public SpkPkgMgrBase
|
||||
private:
|
||||
void CheckInstallerAvailability();
|
||||
|
||||
private slots:
|
||||
void InstallerExited(int, QProcess::ExitStatus);
|
||||
|
||||
private:
|
||||
QAction *mActAptitudeTerm,
|
||||
*mActAptTerm,
|
||||
*mActGdebi,
|
||||
*mActDeepinPkgInst;
|
||||
|
||||
QProcess mInstaller;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user