Skip to content

v0.1.4

Latest

Choose a tag to compare

@Cang-yan Cang-yan released this 10 Oct 03:05

Add From Chrome to texleaf auth login to discover Chrome profiles, validate saved cookies, and import sessions for cstcloud and overleaf.

Automatic Chrome profile discovery and cookie import are available only on macOS. Windows and Linux users should enter cookies manually with texleaf auth login. Both READMEs now state this limitation prominently.

  • If both platforms have valid sessions, save them and finish automatically.
  • If neither session can be imported, show a manual-login hint and return to the login menu.
  • If only some sessions can be imported, save those sessions, list the remaining platforms, and offer manual login or Finish.
  • Support --from-chrome and --chrome-profile for direct imports, with at most one Keychain request per batch.
  • Validate each session before saving it with owner-only file permissions. Failed imports preserve existing saved sessions.

Install or upgrade

npm install -g https://github.com/Cang-yan/texleaf-sync/releases/download/v0.1.4/texleaf-sync-0.1.4.tgz
texleaf --version
texleaf auth login

On macOS, choose 4. From Chrome to check all supported platforms. macOS may prompt for access to the Chrome Safe Storage Keychain item.

Validation

  • npm test: 35 tests passed.
  • Release tarball installed in a separate directory; CLI version, login options, packaged files, and both README platform notices verified.