1
0
mirror of synced 2024-11-24 15:50:16 +01:00

impr: Show which commit was used to compile ImHex on CLI (#1103)

This commit is contained in:
iTrooz 2023-05-25 09:25:22 +02:00 committed by GitHub
parent 320973c5ff
commit 79306fa6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,9 @@ int main(int argc, char **argv, char **envp) {
Window::initNative();
hex::log::info("Welcome to ImHex {}!", IMHEX_VERSION);
#if defined(GIT_BRANCH) && defined(GIT_COMMIT_HASH_SHORT)
hex::log::info("Compiled using commit {}@{}", GIT_BRANCH, GIT_COMMIT_HASH_SHORT);
#endif
init::WindowSplash splashWindow;