From 24a609fba401d4d3e06a22a6e799c642f5a27914 Mon Sep 17 00:00:00 2001 From: Lowly <87949654+L0w1y@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:28:56 +0700 Subject: [PATCH] script update --- script/jetbra.user.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/jetbra.user.js b/script/jetbra.user.js index 4f10693..725ed6b 100644 --- a/script/jetbra.user.js +++ b/script/jetbra.user.js @@ -232,8 +232,8 @@ function genLicenseId() { }).join(''); } -function buildLicensePartJson(productCode, licenseId,twoYears) { - let formattedDateTwoYears = '2099-08-01'; +function buildLicensePartJson(productCode, licenseId, twoYears) { + let formattedDateTwoYears = '9999-01-01'; if (twoYears) { let futureDateTwoYears = new Date(); futureDateTwoYears.setFullYear(futureDateTwoYears.getFullYear() + 2); @@ -245,8 +245,8 @@ function buildLicensePartJson(productCode, licenseId,twoYears) { return JSON.stringify({ "licenseId": licenseId, - "licenseeName": "reborn", - "assigneeName": "reborn", + "licenseeName": "loch", + "assigneeName": "pidor", "assigneeEmail": "", "licenseRestriction": "", "checkConcurrentUse": false, @@ -257,7 +257,7 @@ function buildLicensePartJson(productCode, licenseId,twoYears) { }], "metadata": "0120230102PPAA013009", "hash": "41472961/0:1563609451", - "gracePeriodDays": 7, + "gracePeriodDays": 900, "autoProlongated": true, "isAutoProlongated": true });