AchievementApprovedHash: Automatically generate hash using CMake

This commit is contained in:
Joshua Vandaële
2026-07-27 07:09:11 +02:00
parent d742aa8b4c
commit 55c015e6ac
7 changed files with 56 additions and 22 deletions
+1 -3
View File
@@ -131,9 +131,7 @@ TEST(PatchAllowlist, VerifyHashes)
if (digest != ACHIEVEMENT_APPROVED_LIST_HASH)
{
ADD_FAILURE() << "Approved list hash does not match the one in AchievementApprovedHash.h."
<< std::endl
<< "Please update ACHIEVEMENT_APPROVED_LIST_HASH to the following:" << std::endl
<< Common::SHA1::DigestToSource(digest);
<< std::endl;
}
// Compare with old allowlist
std::string old_allowlist;