Slashbunny / gog-galaxy-plugin-downloader

Downloads and Updates GOG Galaxy 2.0 Plugins/Integrations
GNU General Public License v3.0
268 stars 20 forks source link

[FEATURE] add --verify option to compare existing plugins against source #27

Closed grnassar closed 10 months ago

grnassar commented 10 months ago

Since a number of plugins are currently broken and have manual fixes floating around various forums to kludge them into operation, I thought it'd be nice to have a way to check whether I'd done any of those manual fixes on the plugins I had installed. So I put one together -- the --verify option (short opt -t for "test"; didn't want to use -v since that's traditionally for "verbose" mode and I may end up suggesting that be a flag as well/writing up code around it). Just downloads the listed source for any existing plugins, does a diff, lets you know if it finds discrepancies and if so in what file. Nothin' fancy.

PR incoming for that one shortly as well. (Apologies if I'm doing this wrong; we usually use Bitbucket at work and there it's typical that we make an issue for every PR so there's a place to discuss, so that's what I'm doing here as well -- please lmk if I should quit doing that)