fix: Correct architecture to armeabi-v7a

Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
validcube 2024-07-29 23:46:55 +07:00
parent a7663524e6
commit 63c6412736
No known key found for this signature in database
GPG key ID: DBA94253E1D3F267

View file

@ -119,7 +119,7 @@ class PatcherViewModel extends BaseViewModel {
Future<void> showIncompatibleArchWarningDialog(BuildContext context) async {
final bool notSupported = await AboutInfo.getInfo().then((info) {
final List<String> archs = info['supportedArch'];
final supportedAbis = ['arm64-v8a', 'x86', 'x86_64', 'arm-v7a'];
final supportedAbis = ['arm64-v8a', 'x86', 'x86_64', 'armeabi-v7a'];
return !archs.any((arch) => supportedAbis.contains(arch));
});
if (context.mounted && notSupported) {