From 7da26f63057a25400dba4d86dbb06c0e4af7ca29 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Tue, 7 May 2024 23:46:49 -0700 Subject: [PATCH] reverted gog --- NSLGameScanner.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 = {