proton: Recreate Fonts directory if it somehow goes missing
This commit is contained in:
parent
dcd5907f59
commit
ad90a3686e
1 changed files with 1 additions and 0 deletions
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…
Reference in a new issue