Don't ship filenames with colons in them

This commit is contained in:
Andrew Eikum 2021-03-25 13:14:33 -05:00 committed by Arkadiusz Hiler
parent 501ff9e1ba
commit be1340e476
2 changed files with 15 additions and 0 deletions

6
proton
View file

@ -764,6 +764,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"]