fn exportable_supporter(supporter_path: &Path) -> Option<String>Expand description
Filter what the export writes for the supporter file.
LemonSqueezy records are bound to an instance_id tied to the host
they were activated on — restoring them on a different machine
silently grants up to 30 days of offline grace before the
background revalidator deactivates them server-side. To avoid
users sharing licence files across devices and getting cut off
later, strip LemonSqueezy records on export and only carry the
manual (Ed25519) source through, which verifies locally with no
machine binding.
Routes the read through supporter::load() so a tampered or
unsigned on-disk record (signature mismatch, oversized file) is
dropped at the source — otherwise we’d carry a forged record into
the bundle that load() would then reject on import, silently
losing the user’s supporter status.