Skip to content

Commit 4a2c3bf

Browse files
authored
Fixed broken launchers installation
1 parent 158627a commit 4a2c3bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

faugus-run.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ def start_process(self, command):
145145

146146
print(self.message)
147147

148-
self.game_title = re.search(r'WINEPREFIX="[^"]*/([^"/]+)"', self.message).group(1)
148+
match = re.search(r"WINEPREFIX=['\"]([^'\"]+)", self.message)
149+
self.game_title = match.group(1).split("/")[-1]
149150

150151
if "UMU_NO_PROTON" not in self.message:
151152
if self.enable_logging:

0 commit comments

Comments
 (0)