Skip to content

Commit

Permalink
Update MainWindow.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Apr 20, 2024
1 parent d0ad799 commit a8f2df3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2288,8 +2288,10 @@ void MainWindow::RecreateMenu()
// help menu
wxMenu* helpMenu = new wxMenu();
m_check_update_menu = helpMenu->Append(MAINFRAME_MENU_ID_HELP_UPDATE, _("&Check for updates"));
#if BOOST_OS_MACOS // BOOST_OS_LINUX ||
m_check_update_menu->Enable(false);
#if BOOST_OS_LINUX
if (!std::getenv("APPIMAGE")) {
m_check_update_menu->Enable(false);
}
#endif
helpMenu->Append(MAINFRAME_MENU_ID_HELP_GETTING_STARTED, _("&Getting started"));
helpMenu->AppendSeparator();
Expand Down

0 comments on commit a8f2df3

Please sign in to comment.