From a488d32502280ad2ae5007187d6b0ba66d3b4d41 Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 30 May 2020 00:49:48 +0200 Subject: [PATCH] [core] Fix game path on linux (\ vs /) --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index a6424be..6c0d06d 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -889,7 +889,7 @@ class LegendaryCore: if os.name != 'nt' and not lgd_igame.install_path.startswith('/'): # todo use ${WINEPREFIX}/dosdevices to make sure this is correct if lgd_igame.install_path.startswith('Z:'): - new_path = lgd_igame.install_path[2:] + new_path = lgd_igame.install_path[2:].replace('\\', '/') else: wine_pfx = self.egl.programdata_path.partition('ProgramData')[0] new_path = os.path.join(wine_pfx,