mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 17:24:42 -04:00
支持module.json中的metadata的value生成valueId
Signed-off-by: liduo <liduo29@huawei.com>
This commit is contained in:
@@ -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<std::string> g_resourceSet;
|
||||
const static int8_t THREAD_POOL_SIZE = 2;
|
||||
|
||||
@@ -41,7 +41,8 @@ const map<string, string> ConfigParser::JSON_STRING_IDS = {
|
||||
{ "resource", "^\\$[a-z]+:" },
|
||||
{ "extra", "^\\$[a-z]+:" },
|
||||
{ "fileContextMenu", "^\\$profile:" },
|
||||
{ "orientation", "^\\$string:" }
|
||||
{ "orientation", "^\\$string:" },
|
||||
{ "value", "^\\$string:" }
|
||||
};
|
||||
|
||||
const map<string, string> ConfigParser::JSON_ARRAY_IDS = {
|
||||
|
||||
Reference in New Issue
Block a user