mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 18:40:36 +00:00
Fix macOS builds
This commit is contained in:
parent
771f3c49e5
commit
b57ea3a229
@ -361,6 +361,11 @@ bool update_manager::handle_rpcs3(const QByteArray& data, bool auto_accept)
|
||||
{
|
||||
m_downloader->update_progress_dialog(tr("Updating RPCS3"));
|
||||
|
||||
#ifdef __APPLE__
|
||||
update_log.error("Unsupported operating system.");
|
||||
return false;
|
||||
#else
|
||||
|
||||
if (m_expected_size != static_cast<u64>(data.size()))
|
||||
{
|
||||
update_log.error("Download size mismatch: %d expected: %d", data.size(), m_expected_size);
|
||||
@ -582,7 +587,7 @@ bool update_manager::handle_rpcs3(const QByteArray& data, bool auto_accept)
|
||||
if (res)
|
||||
return false;
|
||||
|
||||
#elif not defined(__APPLE__)
|
||||
#else
|
||||
|
||||
std::string replace_path = rpcs3::utils::get_executable_path();
|
||||
if (replace_path.empty())
|
||||
@ -650,4 +655,5 @@ bool update_manager::handle_rpcs3(const QByteArray& data, bool auto_accept)
|
||||
}
|
||||
|
||||
return true;
|
||||
#endif //def __APPLE__
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user