Add files via upload

This commit is contained in:
Roy 2024-02-06 15:17:42 -08:00 committed by GitHub
parent 1d9d70c755
commit 0c5513c409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -580,7 +580,7 @@ def getGogGameInfo(filePath):
game_name = re.findall(r'\"(.+?)\"', split_line[1])
if game_name:
game_name = game_name[0]
if "exe" in line and "GOG Galaxy" in line:
if "exe" in line and "GOG Galaxy" in line and not "unins000.exe" in line:
exe_path = re.findall(r'\"(.+?)\"', split_line[1])
if exe_path:
exe_path = exe_path[0].replace('\\\\', '\\')