mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 06:45:53 +08:00
Cover an issue if not built with GUI and --gui is passed.
This commit is contained in:
parent
e06d33180c
commit
4875ce641c
@ -51,6 +51,10 @@ main(int argc, char **argv)
|
||||
GUI::App::SetInstance(gui);
|
||||
wxEntry(argc, argv);
|
||||
}
|
||||
#else
|
||||
if (cli_config.gui) {
|
||||
std::cout << "GUI support has not been built." << "\n";
|
||||
}
|
||||
#endif
|
||||
// load config files supplied via --load
|
||||
for (const std::string &file : cli_config.load.values) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user