Posted October 22, 2016
I have created a Windows Powershell script for myself to simplify the process of running gogrepo.py. This script gives me the option of either running a complete or incremental update of my library. Now, I'm no programmer, as will be apparent by the quality of my script, but it works for me and so I thought I would share it in case someone finds it helpful or wants to use this as a building block to something better or more ambitious.
The script will always "clean" the library but will only "verify" it if something changes in the library during the clean or download processes.
I have included an option to shut the computer down at the end of the entire update process.
The script can be downloaded from here: [url=]https://1drv.ms/u/s!AkusSFHlKO4LmjlvAEgA6nY_HNAY[/url]
At the moment it is locked to my library location, i.e. 'S:\Games\GOG Games', Windows and English updates as well as to including both games AND goodies. These can easily be changed by editing the appropriate lines in the script.
It also assumes that Python is installed and located in 'c:\python27'. This can be changed by editing the appropriate lines in the script file.
To use, extract the script to the same folder as gogrepo.py, right-click on the "gogrepo Powershell.ps1" script file and select "Run with Powershell".
The script will always "clean" the library but will only "verify" it if something changes in the library during the clean or download processes.
I have included an option to shut the computer down at the end of the entire update process.
The script can be downloaded from here: [url=]https://1drv.ms/u/s!AkusSFHlKO4LmjlvAEgA6nY_HNAY[/url]
At the moment it is locked to my library location, i.e. 'S:\Games\GOG Games', Windows and English updates as well as to including both games AND goodies. These can easily be changed by editing the appropriate lines in the script.
It also assumes that Python is installed and located in 'c:\python27'. This can be changed by editing the appropriate lines in the script file.
To use, extract the script to the same folder as gogrepo.py, right-click on the "gogrepo Powershell.ps1" script file and select "Run with Powershell".
Post edited October 23, 2016 by ikrananka