Disable auto-update on Linux/macOS (#955)

It's not implemented yet
This commit is contained in:
jn64 2023-09-02 11:57:21 +08:00 committed by GitHub
parent 5e84862e28
commit 2abf1c2059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -146,6 +146,9 @@ wxPanel* GettingStartedDialog::CreatePage2()
m_update = new wxCheckBox(sizer->GetStaticBox(), wxID_ANY, _("Automatically check for updates"));
option_sizer->Add(m_update, 0, wxALL, 5);
#if BOOST_OS_LINUX || BOOST_OS_MACOS
m_update->Disable();
#endif
sizer->Add(option_sizer, 1, wxEXPAND, 5);
page2_sizer->Add(sizer, 0, wxALL | wxEXPAND, 5);