!240 restool新需求,更新版本号

Merge pull request !240 from HanSY/newModule
This commit is contained in:
openharmony_ci
2025-06-12 11:53:02 +00:00
committed by Gitee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
}
}