Skip to content

Commit 4e41d86

Browse files
authored
Update proton with prefix fix
Same fix as ValveSoftware#4861
1 parent b97e740 commit 4e41d86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proton

+2-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,8 @@ class Proton:
642642

643643
class CompatData:
644644
def __init__(self, compatdata):
645-
self.base_dir = compatdata + "/"
645+
self.base_dir = compatdata + "/" + str(os.getuid()) + "/"
646+
os.makedirs(self.base_dir, exist_ok=True)
646647
self.prefix_dir = self.path("pfx/")
647648
self.version_file = self.path("version")
648649
self.config_info_file = self.path("config_info")

0 commit comments

Comments
 (0)