mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 14:14:34 +02:00
fix macos system detection
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
e7ff3146fe
commit
14c95b9d37
@ -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…
x
Reference in New Issue
Block a user