reverted gog

This commit is contained in:
Roy 2024-05-07 23:46:49 -07:00 committed by GitHub
parent 89bd5bff8f
commit 7da26f6305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -727,11 +727,10 @@ else:
def getGogGameInfo(filePath):
# Check if the file contains any GOG entries
with open(filePath, 'r') as file:
if "Software\\Wow6432Node\\GOG.com\\Games\\" not in file.read():
if "GOG.com" not in file.read():
print("No GOG entries found in the registry file. Skipping GOG Galaxy Games Scanner.")
return {}
# If GOG entries exist, parse the registry file
game_dict = {}
with open(filePath, 'r') as file:
@ -797,9 +796,6 @@ else:
# End of Gog Galaxy Scanner
# End of Gog Galaxy Scanner
#Battle.net Scanner
# Define your mapping
flavor_mapping = {