I'm trying to download all the files from a gist and I'm having inconsistent behavior. A basic repro case can be found at this repo. My desired behavior would be that I could set a directory for all the files in a gist, but could change the directory on a gist-by-gist basis (so that directory
would change multiple times within the app's lifetime).
The failed behavior manifests as repeated "Save as..." prompts, despite setting the directory
option. If I cancel out of the prompts, my files do not download. Other times, the app will not prompt me, but will download one file (e.g. thumbnail.png
) N times, where N is the number of files in the gist.
I suspect that this line, which calls download
anew each iteration through an array is the root of my problem, but it's unclear to me what the intended call pattern is for my use case.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too