fix: properly detect arm64

This commit is contained in:
Victor authored and DioEgizio committed 2022-04-04 16:41:23 +02:00
1 parent 115d8b5945
commit cf8680f1ab
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ void JavaListLoadTask::javaCheckerFinished()
JavaInstallPtr javaVersion(new JavaInstall());
javaVersion->id = result.javaVersion;
javaVersion->arch = result.mojangPlatform;
javaVersion->arch = result.realPlatform;
javaVersion->path = result.path;
candidates.append(javaVersion);