mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 22:43:04 +00:00
feature update web recourse on sync.
This commit is contained in:
@@ -963,7 +963,7 @@ void GUI_App::post_init()
|
||||
std::string language = GUI::into_u8(current_language_code());
|
||||
std::string network_ver = Slic3r::NetworkAgent::get_version();
|
||||
bool sys_preset = app_config->get("sync_system_preset") == "true";
|
||||
this->preset_updater->sync(http_url, language, network_ver, sys_preset ? preset_bundle : nullptr);
|
||||
//this->preset_updater->sync(http_url, language, network_ver, sys_preset ? preset_bundle : nullptr);
|
||||
this->preset_updater->sync_web_async(true);
|
||||
this->check_new_version_sf(false, false);
|
||||
|
||||
@@ -4881,7 +4881,7 @@ void GUI_App::check_new_version_sf(bool show_tips, bool by_user)
|
||||
GUI::wxGetApp().QueueEvent(evt);
|
||||
} catch (...) {}
|
||||
})
|
||||
.perform();
|
||||
.perform_sync();
|
||||
}
|
||||
void GUI_App::process_network_msg(std::string dev_id, std::string msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user