check and use ~/.gdrive/credentials.json#476
check and use ~/.gdrive/credentials.json#476ppbrown wants to merge 1 commit intoprasmussen:masterfrom
Conversation
|
Yeah this is much much simpler than the pull request I wrote. Can you add some documentation to the README? Feel free to base it on the docs in 4916e16 |
|
If this is accepted, I'll then put in some effort for more docs ;) |
|
Has there been any progress? (This feature had been very helpful when I encountered "Provided id is not a sync root directory" while syncing multiple machines.) |
|
I forked to my repo and merged this PR, it works like a charm, thanks a lot for sharing this. BTW:
If this PR still doesn't get merged you can try to install my repo as below: go get -u github.com/caryyu/gdrive
go install github.com/caryyu/gdrivethen, open a new terminal window(make sure gdrive about |
I tested this and it seems to work.
If a user has created their own project, and generated creds for it, and downloaded credentials.json ...
they can save it in ~/.gdrive/credentials.json, and gdrive will now open it and use the clientid and secret from it.