RobinJ1995 / gopro-cloud-media-downloader

A Node.js command line utility to bulk download files from the GoPro Cloud.
7 stars 1 forks source link

Automation for Windows users #3

Closed Telsenome closed 1 year ago

Telsenome commented 1 year ago

The example in the README doesn't work for Windows, but this one does. Thought it could be useful to add it to the README :-)

$env:GOPRO_ACCOUNT_EMAIL="me@example.org" ; $env:GOPRO_ACCOUNT_PASSWORD="super_secret" ; $env:SCAN_LOCAL_DIR="C:\Users\robin\Pictures" ; node main.js

RobinJ1995 commented 1 year ago

I'd say since it's possible to just enter these without using environment variables this is not an issue. I'd expect anyone who runs Node.js scripts off Github to be able to figure out how to set environment variables if they use Windows, I'd say Linux or something with a proper shell is generally the expectation for scripts like these anyway.

Telsenome commented 1 year ago

Reasonable 👍