Skip to content

Commit

Permalink
Print version/edition details to log
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Oct 17, 2023
1 parent 06b3d39 commit d708b3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ob_fetch_qx(

# Fetch libfp (build and import from source)
include(OB/Fetchlibfp)
ob_fetch_libfp("239658b41b43c700adc612a390d4602683df334b")
ob_fetch_libfp("dab88b19088afd9cc704bc27e6079bd0044fb611")

# Fetch QI-QMP (build and import from source)
include(OB/FetchQI-QMP)
Expand Down
3 changes: 3 additions & 0 deletions app/src/kernel/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ void Core::attachFlashpoint(std::unique_ptr<Fp::Install> flashpointInstall)
mFlashpointInstall = std::move(flashpointInstall);

// Note install details
logEvent(NAME, LOG_EVENT_FLASHPOINT_VERSION_TXT.arg(mFlashpointInstall->nameVersionString()));
logEvent(NAME, LOG_EVENT_FLASHPOINT_VERSION.arg(mFlashpointInstall->version().toString()));
logEvent(NAME, LOG_EVENT_FLASHPOINT_EDITION.arg(ENUM_NAME(mFlashpointInstall->edition())));
logEvent(NAME, LOG_EVENT_OUTFITTED_DAEMON.arg(ENUM_NAME(mFlashpointInstall->outfittedDaemon())));

// Initialize child process env vars
Expand Down
3 changes: 3 additions & 0 deletions app/src/kernel/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ class Core : public QObject
static inline const QString LOG_EVENT_G_HELP_SHOWN = u"Displayed general help information"_s;
static inline const QString LOG_EVENT_VER_SHOWN = u"Displayed version information"_s;
static inline const QString LOG_EVENT_NOTIFCATION_LEVEL = u"Notification Level is: %1"_s;
static inline const QString LOG_EVENT_FLASHPOINT_VERSION_TXT = u"Flashpoint version.txt: %1"_s;
static inline const QString LOG_EVENT_FLASHPOINT_VERSION = u"Flashpoint version: %1"_s;
static inline const QString LOG_EVENT_FLASHPOINT_EDITION = u"Flashpoint edition: %1"_s;
static inline const QString LOG_EVENT_OUTFITTED_DAEMON = u"Recognized daemon: %1"_s;
static inline const QString LOG_EVENT_ENQ_START = u"Enqueuing startup tasks..."_s;
static inline const QString LOG_EVENT_ENQ_STOP = u"Enqueuing shutdown tasks..."_s;
Expand Down

0 comments on commit d708b3a

Please sign in to comment.