mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Make sure changing commit hash doesn't trigger a full rebuild
Closes #1137
This commit is contained in:
@@ -17,15 +17,9 @@ namespace hex::plugin::builtin {
|
||||
nlohmann::json result;
|
||||
|
||||
result["build"] = {
|
||||
{ "version", IMHEX_VERSION },
|
||||
|
||||
#if defined(GIT_COMMIT_HASH_LONG)
|
||||
{ "commit", GIT_COMMIT_HASH_LONG },
|
||||
#endif
|
||||
|
||||
#if defined(GIT_BRANCH)
|
||||
{ "branch", GIT_BRANCH },
|
||||
#endif
|
||||
{ "version", ImHexApi::System::getImHexVersion() },
|
||||
{ "commit", ImHexApi::System::getCommitHash(true) },
|
||||
{ "branch", ImHexApi::System::getCommitBranch() }
|
||||
};
|
||||
|
||||
std::vector<std::string> commands;
|
||||
|
||||
Reference in New Issue
Block a user