Support profile OTA update for Orca Slicer (#4069)

profile ota support
This commit is contained in:
SoftFever 2024-02-13 23:58:14 +08:00 committed by GitHub
parent f5654d80ef
commit 73bb37b7c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 189 additions and 284 deletions

View file

@ -1211,9 +1211,6 @@ void GUI_App::post_init()
// This is ugly but I honestly found no better way to do it.
// Neither wxShowEvent nor wxWindowCreateEvent work reliably.
if (this->preset_updater) { // G-Code Viewer does not initialize preset_updater.
BOOST_LOG_TRIVIAL(info) << "before check_updates";
this->check_updates(false);
BOOST_LOG_TRIVIAL(info) << "after check_updates";
CallAfter([this] {
bool cw_showed = this->config_wizard_startup();