mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Change Application name to OrcaSlicer
This commit is contained in:
parent
81ca7720e9
commit
5b0ba1207e
93 changed files with 5629 additions and 10221 deletions
|
|
@ -360,7 +360,7 @@ int CLI::run(int argc, char **argv)
|
|||
boost::nowide::cerr << text.c_str() << std::endl;
|
||||
return CLI_ENVIRONMENT_ERROR;
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info) << "Current BambuStudio Version "<< SLIC3R_VERSION << std::endl;
|
||||
BOOST_LOG_TRIVIAL(info) << "Current OraSlicer Version "<< SoftFever_VERSION << std::endl;
|
||||
|
||||
/*BOOST_LOG_TRIVIAL(info) << "begin to setup params, argc=" << argc << std::endl;
|
||||
for (int index=0; index < argc; index++)
|
||||
|
|
@ -455,7 +455,7 @@ int CLI::run(int argc, char **argv)
|
|||
//BBS: remove GCodeViewer as seperate APP logic
|
||||
//params.start_as_gcodeviewer = start_as_gcodeviewer;
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << "begin to launch BambuStudio GUI soon";
|
||||
BOOST_LOG_TRIVIAL(info) << "begin to launch OrcaSlicer GUI soon";
|
||||
return Slic3r::GUI::GUI_Run(params);
|
||||
#else // SLIC3R_GUI
|
||||
// No GUI support. Just print out a help.
|
||||
|
|
@ -1752,7 +1752,7 @@ int CLI::run(int argc, char **argv)
|
|||
//FIXME check for mixing the FFF / SLA parameters.
|
||||
// or better save fff_print_config vs. sla_print_config
|
||||
//m_print_config.save(m_config.opt_string("save"));
|
||||
m_print_config.save_to_json(m_config.opt_string(opt_key), std::string("project_settings"), std::string("project"), std::string(SLIC3R_VERSION));
|
||||
m_print_config.save_to_json(m_config.opt_string(opt_key), std::string("project_settings"), std::string("project"), std::string(SoftFever_VERSION));
|
||||
} else if (opt_key == "info") {
|
||||
// --info works on unrepaired model
|
||||
for (Model &model : m_models) {
|
||||
|
|
@ -2384,17 +2384,17 @@ bool CLI::setup(int argc, char **argv)
|
|||
detect_platform();
|
||||
|
||||
#ifdef WIN32
|
||||
// Notify user that a blacklisted DLL was injected into BambuStudio process (for example Nahimic, see GH #5573).
|
||||
// We hope that if a DLL is being injected into a BambuStudio process, it happens at the very start of the application,
|
||||
// Notify user that a blacklisted DLL was injected into OrcaSlicer process (for example Nahimic, see GH #5573).
|
||||
// We hope that if a DLL is being injected into a OrcaSlicer process, it happens at the very start of the application,
|
||||
// thus we shall detect them now.
|
||||
if (BlacklistedLibraryCheck::get_instance().perform_check()) {
|
||||
std::wstring text = L"Following DLLs have been injected into the BambuStudio process:\n\n";
|
||||
std::wstring text = L"Following DLLs have been injected into the OrcaSlicer process:\n\n";
|
||||
text += BlacklistedLibraryCheck::get_instance().get_blacklisted_string();
|
||||
text += L"\n\n"
|
||||
L"BambuStudio is known to not run correctly with these DLLs injected. "
|
||||
L"We suggest stopping or uninstalling these services if you experience "
|
||||
L"crashes or unexpected behaviour while using BambuStudio.\n"
|
||||
L"For example, ASUS Sonic Studio injects a Nahimic driver, which makes BambuStudio "
|
||||
L"For example, ASUS Sonic Studio injects a Nahimic driver, which makes OrcaSlicer "
|
||||
L"to crash on a secondary monitor";
|
||||
MessageBoxW(NULL, text.c_str(), L"Warning"/*L"Incopatible library found"*/, MB_OK);
|
||||
}
|
||||
|
|
@ -2471,7 +2471,7 @@ bool CLI::setup(int argc, char **argv)
|
|||
void CLI::print_help(bool include_print_options, PrinterTechnology printer_technology) const
|
||||
{
|
||||
boost::nowide::cout
|
||||
<< SLIC3R_APP_KEY <<"-"<< SLIC3R_VERSION << ":"
|
||||
<< SLIC3R_APP_KEY <<"-"<< SoftFever_VERSION << ":"
|
||||
<< std::endl
|
||||
<< "Usage: orca-slicer [ OPTIONS ] [ file.3mf/file.stl ... ]" << std::endl
|
||||
<< std::endl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue