Add period-based license keys alongside fixed expiry dates.

New keys default to validDays with countdown starting on first activation; existing expiresAtSec keys behave unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-01 22:46:10 +08:00
parent e299cfc7dd
commit 4b568ceb56
7 changed files with 458 additions and 17 deletions
+7
View File
@@ -6,6 +6,13 @@
"pid": "dnd_player",
"maxDevices": 3,
"expiresAtSec": 1893456000
},
{
"key": "TTRPG-DEMO-PERIOD-KEY",
"sub": "lic_demo_period",
"pid": "dnd_player",
"maxDevices": 3,
"validDays": 365
}
],
"revokedSubs": [],