diff --git a/NSLGameScanner.py b/NSLGameScanner.py index a164809..6d0e302 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -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 = {