mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Merge pull request #3033 from PrismLauncher/backport-3030-to-release-9.x
[Backport release-9.x] Fix system detection for Intel Macs
This commit is contained in:
commit
52a321b93b
1 changed files with 2 additions and 2 deletions
|
|
@ -81,9 +81,9 @@ QString getSupportedJavaArchitecture()
|
|||
if (arch == "arm64")
|
||||
return "mac-os-arm64";
|
||||
if (arch.contains("64"))
|
||||
return "mac-os-64";
|
||||
return "mac-os-x64";
|
||||
if (arch.contains("86"))
|
||||
return "mac-os-86";
|
||||
return "mac-os-x86";
|
||||
// Unknown, maybe something new, appending arch
|
||||
return "mac-os-" + arch;
|
||||
} else if (sys == "linux") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue