mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-19 19:33:46 -04:00
!163 支持module.json5里面的orientation生成orientationId
Merge pull request !163 from liduo/support_orientation_ref
This commit is contained in:
@@ -48,7 +48,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.009" };
|
||||
static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 5.010" };
|
||||
const static int32_t TAG_LEN = 4;
|
||||
static std::set<std::string> g_resourceSet;
|
||||
|
||||
|
||||
@@ -40,7 +40,8 @@ const map<string, string> ConfigParser::JSON_STRING_IDS = {
|
||||
{ "startWindowBackground", "^\\$color:"},
|
||||
{ "resource", "^\\$[a-z]+:" },
|
||||
{ "extra", "^\\$[a-z]+:" },
|
||||
{ "fileContextMenu", "^\\$profile:" }
|
||||
{ "fileContextMenu", "^\\$profile:" },
|
||||
{ "orientation", "^\\$string:" }
|
||||
};
|
||||
|
||||
const map<string, string> ConfigParser::JSON_ARRAY_IDS = {
|
||||
|
||||
Reference in New Issue
Block a user