Skip to content

Protondrive CLI 0.2.0

Choose a tag to compare

@ColinMario ColinMario released this 28 Jun 22:34
· 7 commits to main since this release

Protondrive CLI 0.2.0

This release modernizes Protondrive-for-Linux around Proton's official proton-drive CLI while keeping rclone for the workflows Proton's CLI does not provide yet, especially mounts and exact rclone sync behavior.

Highlights

  • Added backend selection with auto, proton, and rclone modes.
  • Added support for Proton's official proton-drive CLI for login, status, browse, upload, and download workflows.
  • Added browserless/headless setup via configure --headless, which initializes rclone Proton tokens and writes a compatible Proton CLI session.
  • Added session bridge commands:
    • configure --from-proton-cli-session
    • configure --from-rclone-session
  • Added support for Proton CLI's PROTON_DRIVE_UNSAFE_SECRETS plaintext session file mode for headless systems without Secret Service.
  • Added macOS mounting through local rclone WebDAV plus mount_webdav, avoiding macFUSE in default mode.
  • Added persistent Linux mounts through generated systemd --user services with optional lingering.
  • Added Proton transfer conflict flags and thumbnail control for official CLI uploads/downloads.

Notes

  • rclone is still required for mount, custom rclone remotes, rclone dry-runs, and rclone-specific sync flags.
  • On macOS, default mounts use WebDAV instead of macFUSE. Force FUSE with --mount-method fuse only if macFUSE is installed and working.
  • On Linux, persistent mounts use FUSE/fusermount and systemd --user.

Validation

  • go test ./...
  • go vet ./...
  • macOS build
  • Linux cross-builds for amd64 and arm64
  • Archive checksum verification
  • Real Proton CLI session validation through the official plaintext session store