mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
fixed gog scanner bugs
This commit is contained in:
parent
2c67e0079a
commit
f2a3f5bec8
@ -749,7 +749,8 @@ def getGogGameInfo(filePath):
|
||||
if "gameName" in line:
|
||||
game_name = re.findall(r'\"(.+?)\"', split_line[1])
|
||||
if game_name:
|
||||
game_name = game_name[0]
|
||||
game_name = bytes(game_name[0], 'utf-8').decode('unicode_escape')
|
||||
game_name = game_name.replace('!22', '™')
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user