mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T156, allow to interactively resolve setup issues
* interactivelySynchronizeSetup * utility function parseAndSynchronizeSetup, explicit loading of setup * removed m_startSetupReader;
This commit is contained in:
committed by
Mathew Sutcliffe
parent
409a50e8a5
commit
fedcd76a05
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
|
||||
CGuiApplication a(CApplicationInfo::swiftLauncher(), CApplicationInfo::Laucher, CIcons::swiftLauncher1024());
|
||||
a.addVatlibOptions(); // so it can be passed to started applications
|
||||
a.addParserOption({{"i", "installer"}, QCoreApplication::translate("main", "Installer setup.") });
|
||||
if (!a.parseAndStartupCheck()) { return EXIT_FAILURE; }
|
||||
if (!a.parseAndSynchronizeSetup()) { return EXIT_FAILURE; }
|
||||
a.useWebDataServices(BlackCore::CWebReaderFlags::AllSwiftDbReaders, CDatabaseReaderConfigList::forLauncher());
|
||||
if (!a.start())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user