mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Sude
f5af312fd4
Add option to set login info on command line or read it from file
Add --login-email and --login-password to set login info on command line Read login info from $XDG_CONFIG_HOME/lgogdownloader/login.txt if the file exists login.txt must contain email on the first line and password on the second line
GOG Downloader
This repository contains the code of unofficial GOG downloader.
Dependencies
- libcurl >= 7.32.0
- liboauth
- librhash
- jsoncpp
- htmlcxx
- tinyxml2
- boost (regex, date-time, system, filesystem, program-options, iostreams)
- libcrypto if libcurl is built with OpenSSL
Make dependencies
Debian/Ubuntu
# apt install build-essential libcurl4-openssl-dev libboost-regex-dev \
libjsoncpp-dev liboauth-dev librhash-dev libtinyxml2-dev libhtmlcxx-dev \
libboost-system-dev libboost-filesystem-dev libboost-program-options-dev \
libboost-date-time-dev libboost-iostreams-dev help2man cmake libssl-dev \
pkg-config
Build and install
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
$ make
# sudo make install
Use
man lgogdownloader
Links
Description
LGOGDownloader is unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy.
Languages
C++
98.4%
CMake
1.6%