Merge branch 'main' into feat/configurable-bambu-network-lib

This commit is contained in:
SoftFever
2026-01-05 08:39:21 +08:00
committed by GitHub
151 changed files with 1792 additions and 3064 deletions

View File

@@ -2312,7 +2312,13 @@ void GUI_App::init_app_config()
}
// Change current dirtory of application
[[maybe_unused]] auto unused_result = chdir(encode_path((Slic3r::data_dir() + "/log").c_str()).c_str());
#ifdef _WIN32
[[maybe_unused]] auto unused_result = _chdir(encode_path((Slic3r::data_dir() + "/log").c_str()).c_str());
#else
[[maybe_unused]] auto unused_result = chdir(encode_path((Slic3r::data_dir() + "/log").c_str()).c_str());
#endif
} else {
m_datadir_redefined = true;
}
@@ -3727,7 +3733,7 @@ void GUI_App::set_side_menu_popup_status(bool status)
m_side_popup_status = status;
}
void GUI_App::link_to_network_check()
std::string GUI_App::link_to_network_check()
{
std::string url;
std::string country_code = app_config->get_country_code();
@@ -3742,10 +3748,11 @@ void GUI_App::link_to_network_check()
else {
url = "https://status.bambulab.com";
}
wxLaunchDefaultBrowser(url);
//wxLaunchDefaultBrowser(url);
return url; // ORCA
}
void GUI_App::link_to_lan_only_wiki()
std::string GUI_App::link_to_lan_only_wiki()
{
std::string url;
std::string country_code = app_config->get_country_code();
@@ -3759,7 +3766,8 @@ void GUI_App::link_to_lan_only_wiki()
else {
url = "https://wiki.bambulab.com/en/knowledge-sharing/enable-lan-mode";
}
wxLaunchDefaultBrowser(url);
//wxLaunchDefaultBrowser(url);
return url; // ORCA
}
bool GUI_App::tabs_as_menu() const