mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
rpcs3qt: Add macOS support to the updater.
This commit is contained in:
parent
5fe36872c5
commit
3ef48cbdd5
7 changed files with 152 additions and 24 deletions
|
|
@ -241,7 +241,7 @@ bool main_window::Init([[maybe_unused]] bool with_cli_boot)
|
|||
}
|
||||
});
|
||||
|
||||
#if defined(_WIN32) || defined(__linux__)
|
||||
#if defined(_WIN32) || defined(__linux__) || defined(__APPLE__)
|
||||
if (const auto update_value = m_gui_settings->GetValue(gui::m_check_upd_start).toString(); update_value != gui::update_off)
|
||||
{
|
||||
const bool in_background = with_cli_boot || update_value == gui::update_bkg;
|
||||
|
|
@ -3028,7 +3028,7 @@ void main_window::CreateConnects()
|
|||
|
||||
connect(ui->updateAct, &QAction::triggered, this, [this]()
|
||||
{
|
||||
#if !defined(_WIN32) && !defined(__linux__)
|
||||
#if !defined(_WIN32) && !defined(__linux__) && !defined(__APPLE__)
|
||||
QMessageBox::warning(this, tr("Auto-updater"), tr("The auto-updater isn't available for your OS currently."));
|
||||
return;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue