Go to file
2024-02-16 12:43:50 -05:00
.gitignore Adds saving the token to a file for reuse. Adds logging in via a webview 2022-02-17 21:33:39 -05:00
go.mod Initial commit. 2022-02-17 20:12:44 -05:00
go.sum Initial commit. 2022-02-17 20:12:44 -05:00
main.go Fixes the md5 check so that it only runs if it was able to download the 2022-03-06 21:17:29 -05:00
README.md Adds a readme with some basic instructions. 2024-02-16 12:43:50 -05:00

Gogdl

A small Go program that creates a shell script for backing up your Gog purchases. It doesn't filter languages right now so you might want to search through the created grab_stuff.sh and comment out lines for languages you don't want.

Running

  1. Install golang
  2. Open a terminal to this folder.
  3. Run go mod tidy.
  4. Run go run ..
  5. It should pop up a browser window for you to log in with Gog.
  6. Enter your credentials and probably the second factor auth and wait.
  7. Look back at the terminal to see it progress through all of the things bought at Gog.
  8. After it finishes there will be a grab_stuff.sh file in the current folder.
  9. Look through this file and comment out things you don't want to download or copy the wget lines for things you do and run them directly.
  10. Run the grab_stuff.sh and wait. It will download things into a products folder.