mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
3c18608b01
commit
89bd5bff8f
@ -727,10 +727,11 @@ 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 "Software\\Wow6432Node\\GOG.com\\Games\\" 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:
|
||||
|
Loading…
Reference in New Issue
Block a user