mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-11 01:08:30 +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
|
@ -146,10 +146,11 @@ 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();
|
||||
#if BOOST_OS_LINUX
|
||||
if (!std::getenv("APPIMAGE")) {
|
||||
m_update->Disable();
|
||||
}
|
||||
#endif
|
||||
|
||||
sizer->Add(option_sizer, 1, wxEXPAND, 5);
|
||||
page2_sizer->Add(sizer, 0, wxALL | wxEXPAND, 5);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue