1
0
mirror of synced 2025-01-18 09:04:52 +01:00

fix: Commit hash/branch in statistics being in wrong order

This commit is contained in:
WerWolv 2023-06-27 01:46:11 +02:00
parent 8fdb60758b
commit a5fac85727

View File

@ -84,7 +84,7 @@ namespace hex::init {
{ "uuid", uuid },
{ "format_version", "1" },
{ "imhex_version", versionString },
{ "imhex_commit", fmt::format("{}@{}", ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash()) },
{ "imhex_commit", fmt::format("{}@{}", ImHexApi::System::getCommitHash(true), ImHexApi::System::getCommitBranch()) },
{ "install_type", ImHexApi::System::isPortableVersion() ? "Portable" : "Installed" },
{ "os", ImHexApi::System::getOSName() },
{ "os_version", ImHexApi::System::getOSVersion() },