mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 04:29:03 +08:00
Enable the GUI mode by default on OSX.
This commit is contained in:
parent
d7610f5e80
commit
c48b9e2e85
@ -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…
x
Reference in New Issue
Block a user