mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Linux/Mac Auto-Updater (#1145)
This commit is contained in:
parent
a744670486
commit
f28043e0e9
7 changed files with 82 additions and 28 deletions
|
@ -2292,9 +2292,11 @@ 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_LINUX || BOOST_OS_MACOS
|
||||
m_check_update_menu->Enable(false);
|
||||
#endif
|
||||
#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();
|
||||
helpMenu->Append(MAINFRAME_MENU_ID_HELP_ABOUT, _("&About Cemu"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue