Sude 0b3a6643c6 Proper fix for skipped file downloads due to race condition
Properly fixes the skipped file downloads due to race condition caused by trying create same directory from multiple threads at the same time.
4c480465b33b1784f08a482ac0086f7ff5c2c1ad fixed the issue by having additional check to see if the directory exists after boost::filesystem::create_directories() returned false.
This fix uses mutex to make sure only one thread at a time can check if the directory exists and create it
2016-11-04 09:52:35 +02:00
2016-05-20 20:33:07 +03:00
2016-11-03 21:25:33 +02:00
2016-02-20 14:59:52 -06:00
2016-01-17 18:15:12 +02:00
2013-03-15 22:46:16 +02:00
2016-11-03 21:25:33 +02:00

GOG Downloader

This repository contains the code of unofficial GOG downloader.

Dependencies

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 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
Description
LGOGDownloader is unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy.
Readme 1.8 MiB
Languages
C++ 98.4%
CMake 1.6%