[Usability] Launcher in installer mode checks installation

Do not launch wizard if we just update swift (bug fixes)
This commit is contained in:
Klaus Basan
2019-10-24 01:24:38 +02:00
parent cde18d23aa
commit 94104770bd
2 changed files with 73 additions and 8 deletions

View File

@@ -11,12 +11,13 @@
#ifndef SWIFTLAUNCHER_H
#define SWIFTLAUNCHER_H
#include "blackgui/overlaymessagesframe.h"
#include "blackgui/enableforframelesswindow.h"
#include "blackgui/overlaymessagesframe.h"
#include "blackgui/mainwindowaccess.h"
#include "blackcore/data/globalsetup.h"
#include "blackcore/data/launchersetup.h"
#include "blackcore/coremodeenums.h"
#include "blackmisc/simulation/data/modelcaches.h"
#include "blackmisc/db/artifact.h"
#include "blackmisc/identifiable.h"
@@ -50,6 +51,7 @@ class CSwiftLauncher :
public QDialog,
public BlackGui::CEnableForFramelessWindow,
public BlackGui::IMainWindowAccess,
public BlackMisc::Simulation::Data::CCentralMultiSimulatorModelSetCachesAware,
public BlackMisc::CIdentifiable
{
Q_OBJECT
@@ -211,6 +213,9 @@ private:
//! Request MacOS microphone request
void requestMacMicrophoneAccess();
//! Run in installer mode
void installerMode();
//! Command line
static QString toCmdLine(const QString &exe, const QStringList &exeArgs);
};