feature diff country on local area for update preset web resource.

This commit is contained in:
alves
2026-01-16 17:54:33 +08:00
parent f374b14ea0
commit d6f2972429
4 changed files with 18 additions and 12 deletions

View File

@@ -2549,7 +2549,7 @@ bool GUI_App::on_init_inner()
false,
wxCENTER | wxICON_INFORMATION);
dialog.SetExtendedMessage(description_text);
int result = dialog.ShowModal();
switch (result)
{
@@ -4862,6 +4862,7 @@ void GUI_App::check_new_version_sf(bool show_tips, bool by_user)
return;
}
//if (true)
if (isForceUpgrade)
{
wxGetApp().app_config->set_bool("force_upgrade", version_info.force_upgrade);

View File

@@ -2298,7 +2298,7 @@ static wxMenu* generate_help_menu()
});
append_menu_item(
helpMenu, wxID_ANY, _L("Check for Preset Update"), _L("Check for Preset Update"),
helpMenu, wxID_ANY, _L("Check for Process Preset Updates"), _L("Check for Process Preset Updates"),
[](wxCommandEvent&) {
wxGetApp().check_preset_version();
@@ -2306,7 +2306,7 @@ static wxMenu* generate_help_menu()
"", nullptr, []() { return true; });
append_menu_item(
helpMenu, wxID_ANY, _L("Check for Web Update"), _L("Check for Web Update"),
helpMenu, wxID_ANY, _L("Check for Web ResourceUpdates"), _L("Check for Web ResourceUpdates"),
[](wxCommandEvent&) {
wxGetApp().check_web_version();
},

View File

@@ -441,7 +441,7 @@ DownloadDialog::DownloadDialog(wxWindow *parent, const wxString &msg, const wxSt
: MsgDialog(parent, title, msg, style), msg(msg)
{
add_button(wxID_YES, true, _L("Download"));
add_button(wxID_CANCEL, true, _L("Skip"));
//add_button(wxID_CANCEL, true, _L("Skip"));
finalize();
}