Both the launcher and the game itself need to check if the config file exists, and if not, create a new one based on the default config. The launcher can already do that.