🎉 v2.0.1

fix length limit
This commit is contained in:
BitCookies 2021-12-09 19:50:53 +08:00 committed by bitcookies
parent e256375ecd
commit 4fd0e26da7
5 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -238,6 +238,7 @@ public:
RegInfo.Checksum RegInfo.Checksum
); );
// The length has been limited to 60, this maybe it's been fixed.
if (RegInfo.HexData.length() % 54 != 0) { if (RegInfo.HexData.length() % 54 != 0) {
throw std::runtime_error("InternalError: The length of register data is not correct."); throw std::runtime_error("InternalError: The length of register data is not correct.");
} }

View file

@ -1,4 +1,4 @@
{ {
"text1": "Github-Team", "text1": "Github",
"text2": "Github.com" "text2": "Github.com"
} }