[buildcore] Windows fixes

This commit is contained in:
2023-11-11 22:35:34 -06:00
parent 3fbb2a0086
commit 81d092e967
3 changed files with 7 additions and 4 deletions

View File

@ -28,11 +28,11 @@ def rm(path: str):
def get_os() -> str:
return os.uname().sysname.lower()
return platform.system().lower()
def get_arch() -> str:
arch = platform.machine()
if arch == 'amd64':
if arch.lower() == 'amd64':
arch = 'x86_64'
return arch