mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 22:48:11 +01:00
Set up winevulkan stuff at prefix create time
This commit is contained in:
parent
0fada7caca
commit
ab6b25cc17
5 changed files with 20 additions and 0 deletions
4
proton
4
proton
|
|
@ -75,6 +75,10 @@ if not os.path.isdir(basedir + "/dist/share/default_pfx"):
|
|||
#make default prefix
|
||||
env["WINEPREFIX"] = basedir + "/dist/share/default_pfx"
|
||||
run_wine([wine_path, "wineboot"])
|
||||
run_wine([wine_path, basedir + "/dist/share/contrib/VulkanRT-1.0.65.1-Installer.exe", "/S"])
|
||||
run_wine([wine_path, "regedit", basedir + "/dist/share/contrib/winevulkan.reg"])
|
||||
shutil.copy(basedir + "/dist/share/contrib/winevulkan.json", basedir + "/dist/share/default_pfx/drive_c/windows/system32/winevulkan.json")
|
||||
shutil.copy(basedir + "/dist/share/contrib/winevulkan.json", basedir + "/dist/share/default_pfx/drive_c/windows/syswow64/winevulkan.json")
|
||||
run_wine([bindir + "/wineserver", "-w"])
|
||||
|
||||
prefix = os.environ["STEAM_COMPAT_DATA_PATH"] + "/pfx/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue