restool新需求,更新版本号

Signed-off-by: HanSY <hansiyuan1@huawei.com>
This commit is contained in:
HanSY
2025-06-11 15:16:12 +08:00
parent 305bfab0e5
commit ebd06a3efb
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;
}
}