fix(license): bind deviceId to physical machine, not OS user

Use OS machine identifiers (Windows MachineGuid, macOS IOPlatformUUID, Linux machine-id) hashed as deviceId so all accounts on one PC share one license slot. Keep legacy userData/device.id for migration and retire it on re-activation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-23 10:39:46 +08:00
parent c1c332364c
commit 32a5479086
11 changed files with 399 additions and 24 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
/** Версия текста EULA; при изменении текста увеличить и запросить повторное принятие. */
export const EULA_CURRENT_VERSION = 2;
export const EULA_CURRENT_VERSION = 3;