Compare commits
3 Commits
59d6c49cb2
...
e20ed57bd5
Author | SHA1 | Date | |
---|---|---|---|
e20ed57bd5 | |||
6986007b16 | |||
9ecdf73bc0 |
@ -62,8 +62,9 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||||||
# 1.3.16: Bug fixes found during testing.
|
# 1.3.16: Bug fixes found during testing.
|
||||||
# 1.3.17: Add ATBUpdateTool.ini and custom command line parser. Settings
|
# 1.3.17: Add ATBUpdateTool.ini and custom command line parser. Settings
|
||||||
# given in ATBUpdateTool.ini can be overwritten on the command-line.
|
# given in ATBUpdateTool.ini can be overwritten on the command-line.
|
||||||
VERSION="1.3.18"
|
|
||||||
# 1.3.18: Bug fixes found during testing.
|
# 1.3.18: Bug fixes found during testing.
|
||||||
|
VERSION="1.3.19"
|
||||||
|
# 1.3.19: Bug fixes found during testing.
|
||||||
|
|
||||||
# PLANNED TODOS:
|
# PLANNED TODOS:
|
||||||
# 1: Das Repository wird repariert bwz. neu geklont. Unabhaengig vom WAIT.
|
# 1: Das Repository wird repariert bwz. neu geklont. Unabhaengig vom WAIT.
|
||||||
|
@ -6,16 +6,18 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
CommandLineParser::CommandLineParser()
|
CommandLineParser::CommandLineParser()
|
||||||
: m_repositoryUrl("")
|
: m_repositoryUrl("https://git.mimbach49.de/GerhardHoffmann")
|
||||||
, m_plugInDir("")
|
, m_plugInDir("/usr/lib/")
|
||||||
, m_plugInName("")
|
, m_plugInName("libCAslave.so")
|
||||||
, m_workingDir("")
|
, m_workingDir("/opt/app/tools/atbupdate/")
|
||||||
, m_dryRun("")
|
, m_dryRun("false")
|
||||||
, m_noUpdatePsaHardware("")
|
, m_noUpdatePsaHardware("false")
|
||||||
, m_showYoctoVersion("")
|
, m_showYoctoVersion("false")
|
||||||
, m_showYoctoInstallStatus("")
|
, m_showYoctoInstallStatus("false")
|
||||||
, m_showExtendedVersion("")
|
, m_showExtendedVersion("false")
|
||||||
, m_iniFileName("")
|
, m_iniFileName("ATBUpdateTool.ini")
|
||||||
|
, m_alwaysDownloadConfig("false")
|
||||||
|
, m_alwaysDownloadDC("false")
|
||||||
, m_repositoryUrlOption(
|
, m_repositoryUrlOption(
|
||||||
QCommandLineOption(
|
QCommandLineOption(
|
||||||
QStringList() << "repository-url" << "repository-url",
|
QStringList() << "repository-url" << "repository-url",
|
||||||
|
5
main.cpp
5
main.cpp
@ -74,6 +74,7 @@ int main(int argc, char *argv[]) {
|
|||||||
QString plugInDir = parser.plugInDir();
|
QString plugInDir = parser.plugInDir();
|
||||||
QString plugInName = parser.plugInName();
|
QString plugInName = parser.plugInName();
|
||||||
QString workingDir = parser.workingDir();
|
QString workingDir = parser.workingDir();
|
||||||
|
QString iniFileName = parser.iniFileName();
|
||||||
bool const dryRun = parser.dryRun();
|
bool const dryRun = parser.dryRun();
|
||||||
bool const noUpdatePsaHardware = parser.noUpdatePsaHardware();
|
bool const noUpdatePsaHardware = parser.noUpdatePsaHardware();
|
||||||
bool const showYoctoVersion = parser.yoctoVersion();
|
bool const showYoctoVersion = parser.yoctoVersion();
|
||||||
@ -93,6 +94,10 @@ int main(int argc, char *argv[]) {
|
|||||||
qInfo() << "noUpdatePsaHardware ......" << noUpdatePsaHardware;
|
qInfo() << "noUpdatePsaHardware ......" << noUpdatePsaHardware;
|
||||||
qInfo() << "alwaysDownloadConfig ....." << alwaysDownloadConfig;
|
qInfo() << "alwaysDownloadConfig ....." << alwaysDownloadConfig;
|
||||||
qInfo() << "alwaysDownloadDC ........." << alwaysDownloadDC;
|
qInfo() << "alwaysDownloadDC ........." << alwaysDownloadDC;
|
||||||
|
qInfo() << "showYoctoVersion ........." << showYoctoVersion;
|
||||||
|
qInfo() << "showYoctoInstallStatus ..." << showYoctoInstallStatus;
|
||||||
|
qInfo() << "showExtendedVersion ......" << showExtendedVersion;
|
||||||
|
qInfo() << "iniFileName .............." << iniFileName;
|
||||||
qInfo() << "extended-version ........." << APP_EXTENDED_VERSION;
|
qInfo() << "extended-version ........." << APP_EXTENDED_VERSION;
|
||||||
|
|
||||||
if (showExtendedVersion) {
|
if (showExtendedVersion) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user