|
@@ -45,13 +45,13 @@ public class KeyFileParseUtils {
|
|
|
String users = properties.getProperty("Users");
|
|
|
Sign sign = JsonUtils.jsonStringToBean(signJsonStr, Sign.class);
|
|
|
if (!Objects.deepEquals(ServerUtils.getDeviceId(),serverID)) {
|
|
|
- throw new BackendRuntimeException("The key file signature is invalid.");
|
|
|
+ throw new BackendRuntimeException("Server ID Error. Please check your Key File.");
|
|
|
}
|
|
|
if (!(Objects.deepEquals(sign.getServerID(),serverID)
|
|
|
&& Objects.deepEquals(sign.getLicenseDate(),licenseDate)
|
|
|
&& Objects.deepEquals(sign.getExpireDate(),expireDate)
|
|
|
&& Objects.deepEquals(sign.getUsers(),users))) {
|
|
|
- throw new BackendRuntimeException("The key file signature is invalid.");
|
|
|
+ throw new BackendRuntimeException("Signature invalid. Please check your Key File.");
|
|
|
}
|
|
|
FileContent fileContent = new FileContent();
|
|
|
// 是否是更新?
|