mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-27 05:58:16 +03:00
proton: Delete Steam files before copying them
This commit is contained in:
parent
c32f46cf00
commit
d5c916f69c
5
proton
5
proton
@ -126,7 +126,10 @@ filestocopy = ["steamclient.dll",
|
|||||||
"Steam.dll"]
|
"Steam.dll"]
|
||||||
for f in filestocopy:
|
for f in filestocopy:
|
||||||
if os.path.isfile(steamdir + f):
|
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
|
#copy openvr files into place
|
||||||
dst = prefix + "/drive_c/vrclient/bin/"
|
dst = prefix + "/drive_c/vrclient/bin/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user