nancy.liao
2025-05-29 8d405b265285c368df2e9cf1c14acee7532e0ee7
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);
@@ -117,9 +118,6 @@
      }
   }
#ifndef NDEBUG
   cout << "license to sign [" << oss.str() << "]" << endl;
#endif
   return oss.str();
}