You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added saveToDownloads for writing into the shared Downloads folder without a dialog, with an optional subfolder. Android uses MediaStore (no permission on Android 10+); macOS, Windows and Linux write to the user's Downloads directory; web triggers a browser download; iOS throws UnsupportedError.
Fixes #108 and the "save into Download/<folder>" half of #47.
Desktop saves now honour a sourcePath, so saveToDownloads(filePath:) copies without loading the file into memory.