fix: add more legacy architectures

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-08-10 17:33:55 +02:00
parent 7e280de361
commit 98b6f90172
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -30,7 +30,7 @@ struct RuntimeContext {
// "Legacy" refers to the fact that Mojang assumed that these are the only two architectures // "Legacy" refers to the fact that Mojang assumed that these are the only two architectures
bool isLegacyArch() const { bool isLegacyArch() const {
QSet<QString> legacyArchitectures{"amd64", "x86_64", "i686"}; QSet<QString> legacyArchitectures{"amd64", "x86_64", "i386", "i686", "x86"};
return legacyArchitectures.contains(mappedJavaRealArchitecture()); return legacyArchitectures.contains(mappedJavaRealArchitecture());
} }