Commit Graph

3 Commits

Author SHA1 Message Date
moonD4rk 94e13cc4fc refactor(archive): rename BuildArchive to WriteArchive
It writes a zip and returns a count; Build prefix clashed with
BuildDump, which constructs an in-memory value with no I/O.
2026-06-07 15:56:56 +08:00
moonD4rk 8851ef63ba fix(archive): correct flat-layout path and entry-count wording
Drop the phantom <basename>/ level for flat-layout installs (profileDir == root), say "entries" not "files" (count is per source path), and add ZipDir/Unzip (>1MB, empty, Zip-Slip) + flat-layout tests.
2026-06-06 21:04:24 +08:00
moonD4rk 96ed041fa0 feat(cli): add archive command for cross-host data transport
Bundles each browser's decryption-relevant files + Local State into a <browser-key>/<User Data> zip (forward-slash entries) for cross-host restore.
2026-06-06 20:45:06 +08:00