mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 14:33:04 +00:00
feature get flutter web resource from server.
This commit is contained in:
@@ -2579,10 +2579,10 @@ bool GUI_App::on_init_inner()
|
||||
dlg.ShowModal();
|
||||
});
|
||||
|
||||
Bind(EVT_NO_PRESET_UPDATE, [this](const wxCommandEvent& evt) {
|
||||
wxString msg = _L("This is the newest version.");
|
||||
InfoDialog dlg(nullptr, _L("Info"), msg);
|
||||
dlg.ShowModal();
|
||||
Bind(EVT_NO_PRESET_UPDATE, [this](const wxCommandEvent& evt) {
|
||||
wxString msg = _L("This is the newest version.");
|
||||
InfoDialog dlg(nullptr, _L("Info"), msg);
|
||||
dlg.ShowModal();
|
||||
});
|
||||
}
|
||||
else {
|
||||
@@ -4722,6 +4722,12 @@ void maybe_attach_updater_signature(Http& http, const std::string& canonical_que
|
||||
|
||||
} // namespace
|
||||
|
||||
void GUI_App::check_web_version()
|
||||
{
|
||||
if (preset_updater != nullptr)
|
||||
preset_updater->sync_web_async();
|
||||
}
|
||||
|
||||
void GUI_App::check_preset_version()
|
||||
{
|
||||
if (preset_updater != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user