mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-15 13:52:37 +03:00
proton: Recreate Fonts directory if it somehow goes missing
This commit is contained in:
parent
dcd5907f59
commit
ad90a3686e
1
proton
1
proton
@ -231,6 +231,7 @@ def create_fonts_symlinks(prefix_path):
|
|||||||
]
|
]
|
||||||
|
|
||||||
windowsfonts = prefix_path + "/drive_c/windows/Fonts"
|
windowsfonts = prefix_path + "/drive_c/windows/Fonts"
|
||||||
|
makedirs(windowsfonts)
|
||||||
for p in fontsmap:
|
for p in fontsmap:
|
||||||
lname = os.path.join(windowsfonts, p[1])
|
lname = os.path.join(windowsfonts, p[1])
|
||||||
fname = os.path.join(fontsdir, p[0])
|
fname = os.path.join(fontsdir, p[0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user