From 18db40d202b89541ef7cdd79465159f8a7977f1a Mon Sep 17 00:00:00 2001 From: liduo Date: Mon, 11 Nov 2024 16:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81module.json=E4=B8=AD=E7=9A=84?= =?UTF-8?q?metadata=E7=9A=84value=E7=94=9F=E6=88=90valueId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liduo --- include/resource_data.h | 2 +- src/config_parser.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/resource_data.h b/include/resource_data.h index 231a01c..c7c34c6 100644 --- a/include/resource_data.h +++ b/include/resource_data.h @@ -49,7 +49,7 @@ const static std::string SOLUTIONS_ARROW = "> "; const static std::string LONG_PATH_HEAD = "\\\\?\\"; const static int32_t VERSION_MAX_LEN = 128; const static int32_t INT_TO_BYTES = sizeof(uint32_t); -static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 5.012" }; +static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 5.1.0.001" }; const static int32_t TAG_LEN = 4; static std::set g_resourceSet; const static int8_t THREAD_POOL_SIZE = 2; diff --git a/src/config_parser.cpp b/src/config_parser.cpp index d226b8e..7aa6b5f 100644 --- a/src/config_parser.cpp +++ b/src/config_parser.cpp @@ -41,7 +41,8 @@ const map ConfigParser::JSON_STRING_IDS = { { "resource", "^\\$[a-z]+:" }, { "extra", "^\\$[a-z]+:" }, { "fileContextMenu", "^\\$profile:" }, - { "orientation", "^\\$string:" } + { "orientation", "^\\$string:" }, + { "value", "^\\$string:" } }; const map ConfigParser::JSON_ARRAY_IDS = {