scp-fs2open / wxLauncher

wxLauncher
Other
26 stars 12 forks source link

Fix first run on Linux #146

Closed rtoijala closed 8 years ago

rtoijala commented 8 years ago

wxLauncher failed to start the game because MigrateOldConfig failed. When no new config was present, it assumed that the old config must be copied over to the new location. On the first run, there was no old config, so MigrateOldConfig failed and returned false, meaning the game was not started.

First check for the existance of the old config file and only try to copy it if exists.

rtoijala commented 8 years ago

Travis seems to be failing because of a Python error unrelated to my changes. Looks like pulling #140 might fix that.