mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 17:24:42 -04:00
@@ -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.1.0.008" };
|
||||
static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 6.0.0.001" };
|
||||
const static int32_t TAG_LEN = 4;
|
||||
constexpr static int DEFAULT_POOL_SIZE = 8;
|
||||
static std::set<std::string> g_resourceSet;
|
||||
|
||||
@@ -86,7 +86,7 @@ uint32_t ConfigParser::Init()
|
||||
cJSON *appNode = cJSON_GetObjectItem(root_, "app");
|
||||
if (appNode && cJSON_IsObject(appNode)) {
|
||||
cJSON *minAPIVersionNode = cJSON_GetObjectItem(appNode, "minAPIVersion");
|
||||
if (minAPIVersionNode && minAPIVersionNode->valueint > MIN_SUPPORT_NEW_MODULE_API_VERSION) {
|
||||
if (minAPIVersionNode && minAPIVersionNode->valueint >= MIN_SUPPORT_NEW_MODULE_API_VERSION) {
|
||||
newModule_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user