Skip to content

Commit

Permalink
Output REF version info into the log
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Apr 22, 2024
1 parent 9732b4b commit c42e1b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/REFramework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@ REFramework::REFramework(HMODULE reframework_module)

spdlog::info("REFramework entry");

spdlog::info("Commit hash: {}", REF_COMMIT_HASH);
spdlog::info("Tag: {}", REF_TAG);
spdlog::info("Commits past tag: {}", REF_COMMITS_PAST_TAG);
spdlog::info("Branch: {}", REF_BRANCH);
spdlog::info("Total commits: {}", REF_TOTAL_COMMITS);
spdlog::info("Build date: {}", REF_BUILD_DATE);
spdlog::info("Build time: {}", REF_BUILD_TIME);

const auto module_size = *utility::get_module_size(m_game_module);

spdlog::info("Game Module Addr: {:x}", (uintptr_t)m_game_module);
Expand Down

0 comments on commit c42e1b8

Please sign in to comment.