mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-28 10:14:37 +01:00
proton: Delete Steam files before copying them
This commit is contained in:
parent
c32f46cf00
commit
d5c916f69c
1 changed files with 4 additions and 1 deletions
5
proton
5
proton
|
|
@ -126,7 +126,10 @@ filestocopy = ["steamclient.dll",
|
|||
"Steam.dll"]
|
||||
for f in filestocopy:
|
||||
if os.path.isfile(steamdir + f):
|
||||
shutil.copy(steamdir + f, dst + "Steam/" + f)
|
||||
dstfile = dst + "Steam/" + f
|
||||
if os.path.isfile(dstfile):
|
||||
os.remove(dstfile)
|
||||
shutil.copy(steamdir + f, dstfile)
|
||||
|
||||
#copy openvr files into place
|
||||
dst = prefix + "/drive_c/vrclient/bin/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue