diff --git a/include/resource_data.h b/include/resource_data.h index b96e0d7..1be5482 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.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 g_resourceSet; diff --git a/src/config_parser.cpp b/src/config_parser.cpp index 5e0a8ce..5e712a3 100644 --- a/src/config_parser.cpp +++ b/src/config_parser.cpp @@ -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; } }