medfall

A super great game engine
Log | Files | Refs

commit 26f712a8520424b4ca203ea3c46df3a34ddea74b
parent 180cc2b2689db9fb781f8fc6fab0d6cf56811a63
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue, 31 Oct 2017 09:12:40 +0200

Fix launcher on !Windows

Diffstat:
launcher/main.cc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/launcher/main.cc b/launcher/main.cc @@ -760,7 +760,11 @@ int main( int argc, char ** argv ) { ImGui::PopStyleColor( 3 ); if( update ) { +#if PLATFORM_WINDOWS exec_and_quit( "elevate_for_update.exe" ); +#else + updater->state = UPDATER_DOWNLOADING_PRE; +#endif } } else if( updater->state == UPDATER_DOWNLOADING_PRE || updater->state == UPDATER_DOWNLOADING ) {