CDDA-Game-Launcher icon indicating copy to clipboard operation
CDDA-Game-Launcher copied to clipboard

Launcher destroys itself if connection gets reset during update

Open welcomereality opened this issue 1 year ago • 2 comments

Describe the bug Launcher destroys itself if connection gets reset during update.

To Reproduce Steps to reproduce the behavior:

  1. Init launcher update.
  2. Turn of wifi\pull the ethernet cable\toggle vpn
  3. Update stops
  4. When you try to restart the launcher you see this: изображение

Expected behavior Launcher shouldn't overwrite itself during an update, while the new build is not completely downloaded and not verified.

Desktop:

  • OS: Windows 11
  • Version: 1.7.4

welcomereality avatar Nov 23 '24 22:11 welcomereality

the old version should have been moved to an old_launcher folder, can you check if it's there?

Fris0uman avatar Nov 29 '24 09:11 Fris0uman

Just retried it and yes, it does get moved, i somehow didn't see the folder at first. It'd be nice to edit the fail popup.

Also while reproducing this i've found somewhat of an edge-case. изображение If internet connection gets severed before the download process actually starts we get this. But i feel like this is extremely unlikely to happen to anyone.

welcomereality avatar Nov 30 '24 00:11 welcomereality