diff --git a/main.c b/main.c index ed676e3..1fd4a99 100644 --- a/main.c +++ b/main.c @@ -174,12 +174,12 @@ int WINAPI _tWinMain (HINSTANCE hThisInstance, exit(1); } - UpdateRegistry(); /* Checks version change and update keys/values */ - - GetRegistryKeys(); /* Parse command-line options */ ProcessCommandLine(&o, GetCommandLine()); + UpdateRegistry(); /* Checks version change and update keys/values */ + GetRegistryKeys(); + EnsureDirExists(o.config_dir); if (!CheckVersion()) {