[FIX] Fix verifyError with buildNumber property

This commit is contained in:
Gravita 2025-06-28 23:42:36 +07:00
parent bda6a35945
commit 846ab77795

View file

@ -129,7 +129,6 @@ protected void initProps(BuildContext context) {
String unlockSecret = SecurityHelper.randomStringToken(); String unlockSecret = SecurityHelper.randomStringToken();
context.pipelineContext.putProperty("unlockSecret", unlockSecret); context.pipelineContext.putProperty("unlockSecret", unlockSecret);
context.properties.put("runtimeconfig.unlockSecret", unlockSecret); context.properties.put("runtimeconfig.unlockSecret", unlockSecret);
context.properties.put("runtimeconfig.buildNumber", 1);
} }
public byte[] transformClass(byte[] bytes, String classname, BuildContext context) { public byte[] transformClass(byte[] bytes, String classname, BuildContext context) {