Enable the GUI mode by default on OSX.
This commit is contained in:
parent
d7610f5e80
commit
c48b9e2e85
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,11 @@ int main(int argc, char **argv)
|
|||
|
||||
// apply command line options to a more handy CLIConfig
|
||||
CLIConfig cli_config;
|
||||
#ifdef __APPLE__
|
||||
// Enable the GUI mode by default, to support drag & drop.
|
||||
cli_config.gui.value = true;
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
cli_config.apply(all_config, true);
|
||||
set_data_dir(cli_config.datadir.value);
|
||||
|
||||
|
|
Loading…
Reference in a new issue