Skip to content

Commit

Permalink
Update GettingStartedDialog.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Apr 20, 2024
1 parent d2207ed commit d0ad799
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/GettingStartedDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ 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_MACOS // BOOST_OS_LINUX ||
m_update->Disable();
#if BOOST_OS_LINUX
if (!std::getenv("APPIMAGE")) {
m_auto_update->Disable();
}
#endif

sizer->Add(option_sizer, 1, wxEXPAND, 5);
Expand Down

0 comments on commit d0ad799

Please sign in to comment.