update license info

This commit is contained in:
novice.li 2024-02-27 20:57:19 +08:00
parent eeac095187
commit ed598a6693
2 changed files with 5 additions and 6 deletions

View File

@ -18,7 +18,6 @@ public class AgentMain {
.on(ElementMatchers.isConstructor().and(ElementMatchers.takesArgument(0, Set.class))))) .on(ElementMatchers.isConstructor().and(ElementMatchers.takesArgument(0, Set.class)))))
.asTerminalTransformation() .asTerminalTransformation()
.type(ElementMatchers.named("sun.net.www.http.HttpClient")) .type(ElementMatchers.named("sun.net.www.http.HttpClient"))
.transform((builder, typeDescription, classLoader, module, protectionDomain) -> builder .transform((builder, typeDescription, classLoader, module, protectionDomain) -> builder
.visit(Advice.to(HttpClientAdvice.class) .visit(Advice.to(HttpClientAdvice.class)

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name JetBra // @name JetBra
// @namespace https://github.com/novice88/jetbra // @namespace https://github.com/novice88/jetbra
// @version 3.1 // @version 3.2
// @license MIT // @license MIT
// @description Add a button on the plugin homepage and click to get the plugin activation code // @description Add a button on the plugin homepage and click to get the plugin activation code
// @author novice.li // @author novice.li
@ -81,15 +81,15 @@ let addButton = async function () {
return; return;
} }
let data = { let data = {
"licenseeName": "Test", "licenseeName": "reborn",
"assigneeName": "novice.li", "assigneeName": "reborn",
"assigneeEmail": "", "assigneeEmail": "",
"licenseRestriction": "", "licenseRestriction": "",
"checkConcurrentUse": false, "checkConcurrentUse": false,
"products": [{ "products": [{
"code": pluginDetail.purchaseInfo.productCode, "code": pluginDetail.purchaseInfo.productCode,
"fallbackDate": "2099-12-30", "fallbackDate": "2026-12-30",
"paidUpTo": "2099-12-30", "paidUpTo": "2026-12-30",
"extended": false "extended": false
}], }],
"metadata": "0120230102PPAA013009", "metadata": "0120230102PPAA013009",