Skip to content

Commit

Permalink
UpdateChecker: Use xcopy instead of robocopy (#143)
Browse files Browse the repository at this point in the history
This fixes a runtime issue on the Steam Deck that prevented sometime 7th to be updated successfully
  • Loading branch information
dotaxis authored Sep 30, 2023
1 parent f99fe59 commit 529b7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeventhHeavenUI/Classes/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private void StartUpdate(string sourcePath)
@echo Waiting for 7th Heaven to be closed, please wait...
@taskkill /IM ""7th Heaven.exe"" /F >NUL 2>NUL
@timeout /t 5 /nobreak
@robocopy ""{sourcePath}"" ""{Sys._7HFolder}"" /S /MOV >NUL 2>NUL
@xcopy ""{sourcePath}"" ""{Sys._7HFolder}"" /S /Y >NUL 2>NUL
@echo Waiting for the update to take place, please wait...
@timeout /t 5 /nobreak
@rmdir /s /q ""{sourcePath}""
Expand Down

0 comments on commit 529b7c6

Please sign in to comment.