diff --git a/lib/sys.dart b/lib/sys.dart index 92977ef..6b11281 100644 --- a/lib/sys.dart +++ b/lib/sys.dart @@ -33,7 +33,7 @@ Future getCPUArchitecture() async { // Check if being emulated in ARM and return true architecture try { var buildArch = await io.Process.run('reg', ['query', r'HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\BuildLayers\DesktopEditions', '/v', 'BuildArch']); - if (buildArch.stdout.toString().contains('arm64')) { + if (buildArch.stdout.toString().toLowerCase().contains('arm64')) { cpu = 'ARM64'; } } catch (e) {