onepub-dev/system_info

On windows AMD64 getKernalArchitecture() should return X86_64,

Opened this issue · 0 comments

I run on windows amd64 arch

I think Kernel architecture should be X86_64 but return a 'UNKNOW'

Kernel architecture     : UNKNOW
Raw Kernel architecture : AMD64
Kernel bitness          : 64
Kernel name             : Windows_NT
Kernel version          : 10.0.22631

There is my code

import 'package:system_info2/system_info2.dart';

void main() {
  print('Kernel architecture     : ${SysInfo.kernelArchitecture}');
  print('Raw Kernel architecture : ${SysInfo.rawKernelArchitecture}');
  print('Kernel bitness          : ${SysInfo.kernelBitness}');
  print('Kernel name             : ${SysInfo.kernelName}');
  print('Kernel version          : ${SysInfo.kernelVersion}');
}