You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a launcher downloads an update, the new executable file overrides the old one.
If the update process is interrupted or fails, the launcher can be left with a corrupted executable, making it impossible to run.
We need a more reliable way to update itself like
-a file swap after the download.
-patch download and overrides everything.
The text was updated successfully, but these errors were encountered:
In my case, I make my own PatcherUpdater. I make it download all the new Launcher files in a temporary folder and cut it to my Launcher folder once the download is completed.
I am thinking about the possible implications of a possible fix for this. The fix would be to download everything in a temporary folder, then replace all the files when we are sure that all the downloads have been completed successfully.
However, this requires more free disk space, precisely it requires twice the Launcher's size.
Not sure if this is a real problem, but I am thinking about implementing this behavior behind an opt-in flag in the LauncherUpdater.
When a launcher downloads an update, the new executable file overrides the old one.
If the update process is interrupted or fails, the launcher can be left with a corrupted executable, making it impossible to run.
We need a more reliable way to update itself like
-a file swap after the download.
-patch download and overrides everything.
The text was updated successfully, but these errors were encountered: