Fris0uman / CDDA-Game-Launcher

A Cataclysm: Dark Days Ahead launcher
MIT License
53 stars 2 forks source link

Launcher Binary Doesn't Update #30

Closed Travia21 closed 2 years ago

Travia21 commented 2 years ago

Describe the bug The launcher doesn't update the binary executable on disk. It puts a new launcher.exe in C:\Users\username\AppData\Local\Temp...

To Reproduce Steps to reproduce the behavior:

  1. Open launcher.exe version 1.6.0
  2. Update when prompted
  3. Check the version number in Help, see it's 1.6.1
  4. Close the launcher
  5. Open the same launcher.exe
  6. You are prompted to update again

Expected behavior The binary launcher.exe on disk should get replaced with the new version.

Screenshots image image

Desktop (please complete the following information):

Additional context My launcher.exe is not on my C: drive. Every time I update, a new "cdda..." folder is added to C:\Users\Username\AppData\Local\Temp.

Fris0uman commented 2 years ago

Can confirm, also apparently this has been the behaviour since version1.5.8. It will probably take me some time to fix

Travia21 commented 2 years ago

The workaround is to move the exe from temp to where it needs to go.