Skip to main content

Exploitation

Note

L'application prends entièrement la main sur le terminal et ne peut être quitté, l'utilisation de screen est recommandée.

Initialisation

screen -S gogrepo
cd gogrepo/
source bin/activate
./gogrepo.py login
./gogrepo update -os windows -lang fr en

Premier téléchargement

screen -S gogrepo
cd gogrepo/
source bin/activate
./gogrepo.py download -skipgames /data/share/gog/extras/ | tee -a gogrepo-download-extras.log
./gogrepo.py download -skipextras /data/share/gog/games/ | tee -a gogrepo-download-games.log
./gogrepo.py verify /data/share/gog/extras/ | tee gogrepo-verify-extras.log
./gogrepo.py verify /data/share/gog/games/ | tee gogrepo-verify-games.log

Script de mise à jour automatique

#!/bin/bash

python3 gogrepo.py update -os windows -lang fr en -skipknown
python3 gogrepo.py update -os windows -lang fr en -updateonly
python3 gogrepo.py download -skipgames /data/share/gog/extras/ | tee -a gogrepo-download-extras.log
python3 gogrepo.py download -skipextras /data/share/gog/games/ | tee -a gogrepo-download-games.log
python3 gogrepo.py verify /data/share/gog/extras/ | tee gogrepo-verify-extras.log
python3 gogrepo.py verify /data/share/gog/games/ | tee gogrepo-verify-games.log

Utilisation du script:

screen -S gogrepo
cd gogrepo/
source bin/activate
./update.sh