Don't ship filenames with colons in them

CW-Bug-Id: #22054
This commit is contained in:
Andrew Eikum 2021-03-25 13:14:33 -05:00 committed by Arkadiusz Hiler
parent ccb1c5a413
commit 576a839c18
2 changed files with 15 additions and 0 deletions

6
proton
View file

@ -783,6 +783,12 @@ class CompatData:
self.migrate_user_paths()
if not os.path.lexists(self.prefix_dir + "/dosdevices/c:"):
os.symlink("../drive_c", self.prefix_dir + "/dosdevices/c:")
if not os.path.lexists(self.prefix_dir + "/dosdevices/z:"):
os.symlink("/", self.prefix_dir + "/dosdevices/z:")
# collect configuration info
steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"]