Skip to content

protondrive 0.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 05:01
· 4 commits to master since this release

Added

  • Sign in through the browser. protondrive login --browser opens Proton's own sign-in page (or prints its
    address, to open on any device, also over SSH) and waits up to 10 minutes. Your password, 2FA code and mailbox
    password are typed only on Proton's page, never into protondrive; it receives the new session and the key
    password encrypted for it alone. The library offers the same as ProtonDriveAccount.LoginInBrowserAsync.

  • Background sync on Windows. protondrive service enable [--timer], disable and status now work on
    Windows with Task Scheduler: a task of your own starts at logon and syncs continuously (or every 15 minutes with
    --timer) while you are logged on, with no window and no administrator rights. Its output goes to
    %LOCALAPPDATA%\protondrive\state\logs\sync.log, kept to two files of 5 MB, and service status shows the
    last lines. As with systemd, a sync that fails is restarted after a minute, a newly installed version is started at
    once, and an ended Proton session stops it for good instead of restarting it in a loop: run protondrive login,
    then service enable again. disable asks the running sync to finish its current step before it stops.

Changed

  • session decrypt warns and asks first. It shows in red that a plain session file lets anyone with a copy use
    your account without your password or two-factor code, then asks [y/N]. -y or --yes skips the question,
    and is needed without a terminal. Nothing is asked when the session is not encrypted.

  • Clearer sync add help. It now reads sync add <local-folder> <drive-folder>, says the Proton Drive folder
    always uses /, and gives an example for Linux and macOS (~/Proton /Backup/Laptop) and for Windows
    (C:\Users\you\Proton /Backup/Laptop).

Fixed

  • Windows: output lines no longer end with \x0D. The filter that keeps file names from controlling the
    terminal showed the carriage return of every Windows line break as a visible escape. It now keeps a line break
    (CR LF) as it is, and still shows a lone carriage return, which could overwrite the line, as \x0D.

  • Windows: colors, symbols and the live status line in cmd, PowerShell and Windows Terminal. protondrive now
    turns on the console's color codes itself and writes UTF-8, so ⇄ no longer shows as ?, and puts the console
    back as it was when it exits. A classic console window (cmd or PowerShell in their own window), whose fonts lack
    some symbols, gets ASCII: <-> for ⇄, ... for …, and a |/-\ spinner. Dim text there is gray, since it
    has no faint text.

  • Help headings are bold blue instead of only bold, which looked like plain text on Windows.

Full list of changes: v0.4.0...v0.4.1


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.