mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 01:13:45 -04:00
[net] Add support for future macOS PGO shenanigans
Rudimentary tests showed that using PGO on macOS *does* have an appreciable impact on performance. So we're probably going to introduce it soon. Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
cc8451f764
commit
a6d943e945
2 changed files with 3 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ std::vector<Asset> Release::GetPlatformAssets() const {
|
|||
#endif // ARCHITECTURE_arm64
|
||||
#elif defined(__APPLE__)
|
||||
#ifdef ARCHITECTURE_arm64
|
||||
find_asset("Standard", {".dmg", ".tar.gz"});
|
||||
find_asset("Standard", {"standard.dmg", "standard.tar.gz", ".dmg", ".tar.gz"});
|
||||
find_asset("PGO", {"pgo.dmg", "pgo.tar.gz"});
|
||||
#endif // ARCHITECTURE_arm64
|
||||
#elif defined(__ANDROID__)
|
||||
#ifdef ARCHITECTURE_x86_64
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ UpdateDialog::UpdateDialog(const Common::Net::Release& release, QWidget* parent)
|
|||
QDesktopServices::openUrl(QUrl{QString::fromStdString(release.html_url)});
|
||||
});
|
||||
} else if (assets.size() == 1) {
|
||||
ui->groupBox->setHidden(true);
|
||||
m_asset = assets[0];
|
||||
|
||||
connect(this, &QDialog::accepted, this, &UpdateDialog::Download);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue