7 Commits

Author SHA1 Message Date
Kawe Mazidjatari
c87ee1b81d Fix launch after update bug
Build command line properly, must prepend executable name first since that gets populated into arg 0.
2023-10-29 23:16:58 +01:00
Kawe Mazidjatari
a7277b47fc Launcher UX Improvements
* Fix bug regarding searching for prerelease builds, prerelease was assumed to be always at the top but this isn't true.
* Make the prerelease toggle button check for updates instantly.
* Automatically launch the game after the update has finished.
2023-10-29 20:08:10 +01:00
Kawe Mazidjatari
ae098603bb Overall launcher cleanup and improvements
Use clean_sdk.bat to clean the SDK install.
2023-10-21 18:00:25 +02:00
Kawe Mazidjatari
97dc1f646e Update SDK updater 2023-10-15 18:05:32 +02:00
Kawe Mazidjatari
11944f2476 Remove false error entirely
Just don't log it at all, the 'WaitForSingleObject()' will take care of most things.
2023-08-07 22:15:21 +02:00
Kawe Mazidjatari
1b9707e461 Improve updater reliability
Raise privileges so its more likely to being able to terminate the launcher process, also continue if TerminateProcess fails, as there could be a race condition between TerminateProcess and ExitProcess (called from launcher). We just want to make sure launcher is fully closed before proceeding to replace it.
2023-07-31 02:53:50 +02:00
Kawe Mazidjatari
a3ea28e70c Add standalone SDK updater
Compiled to 'game/bin/', current purpose is to just replace launcher.exe after update as launcher.exe is the main updater, but needs to be killed to update itself.
2023-07-29 16:55:34 +02:00