nancy.liao
2025-05-29 f1d283e941680a97d74a2fb7f6bcdd9490efc394
根据具体需求 修改了一个强制性的版本匹配,否则license返回结果不正确
1个文件已修改
5 ■■■■■ 已修改文件
src/library/LicenseReader.cpp 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/library/LicenseReader.cpp
@@ -85,8 +85,9 @@
             *  application_data = xxxxxxxxx (optional string 16)
             */
            const char *license_signature = ini.GetValue(productNamePtr, LICENSE_SIGNATURE, nullptr);
            long license_version = ini.GetLongValue(productNamePtr, LICENSE_VERSION, -1);
            if (license_signature != nullptr && license_version == 200) {
            //没有用这个license_version了 不需要读
            // long license_version = ini.GetLongValue(productNamePtr, LICENSE_VERSION, -1);
            if (license_signature != nullptr /*&& license_version == 200*/) {
                CSimpleIniA::TNamesDepend keys;
                ini.GetAllKeys(productNamePtr, keys);
                FullLicenseInfo licInfo(*it, product, license_signature);