mirror of https://github.com/OpenVPN/openvpn-gui
Merge 191a6db2fb
into 82812df1a8
commit
142117e6e2
6
main.c
6
main.c
|
@ -175,12 +175,12 @@ int WINAPI _tWinMain (HINSTANCE hThisInstance,
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateRegistry(); /* Checks version change and update keys/values */
|
|
||||||
|
|
||||||
GetRegistryKeys();
|
|
||||||
/* Parse command-line options */
|
/* Parse command-line options */
|
||||||
ProcessCommandLine(&o, GetCommandLine());
|
ProcessCommandLine(&o, GetCommandLine());
|
||||||
|
|
||||||
|
UpdateRegistry(); /* Checks version change and update keys/values */
|
||||||
|
GetRegistryKeys();
|
||||||
|
|
||||||
EnsureDirExists(o.config_dir);
|
EnsureDirExists(o.config_dir);
|
||||||
|
|
||||||
if (!CheckVersion()) {
|
if (!CheckVersion()) {
|
||||||
|
|
Loading…
Reference in New Issue