Add prompt sd sync and install app setting

This commit is contained in:
elecpower
2022-09-06 09:29:41 +10:00
committed by Peter Feerick
parent 5b5d4de288
commit 97048a1544
9 changed files with 476 additions and 401 deletions
+6 -2
View File
@@ -20,8 +20,7 @@
*/
#include "updatecompanion.h"
#include "constants.h"
#include "version.h"
#include "appdata.h"
#include <QMessageBox>
#include <QDesktopServices>
@@ -63,6 +62,11 @@ UpdateCompanion::UpdateCompanion(QWidget * parent) :
bool UpdateCompanion::asyncInstall()
{
reportProgress(tr("Run application installer: %1").arg(g.runInstaller() ? tr("true") : tr("false")), QtDebugMsg);
if (!g.runInstaller())
return true;
progressMessage(tr("Async install"));
assets->setFilterFlags(UPDFLG_AsyncInstall);