支持读取安装状态

This commit is contained in:
2024-04-24 19:58:05 +08:00
parent 07c164a11d
commit 4c4cb578eb
6 changed files with 96 additions and 6 deletions

View File

@@ -17,15 +17,23 @@ public:
explicit KernelInstaller(QStringList kernelList, QWidget *parent = nullptr);
~KernelInstaller();
signals:
void InstallFinished(int status);
private:
Ui::KernelInstaller *ui;
QTermWidget *terminal;
QStringList kernelList;
int processID;
QString tempDir = "/tmp";
void StartInstaller();
QString BuildKernelInstallerBash(QStringList kernelList, QString tempFilePath) const;
QString BuildKernelRootLoaderInstallerBash(QString tempFilePath, QString tempLoaderFilePath) const;
int CheckInstallerStatus();
void CheckInstallerStatusTimer();
};
#endif // KERNELINSTALLER_H