[buildcore] Windows fixes
This commit is contained in:
4
deps/buildcore/scripts/util.py
vendored
4
deps/buildcore/scripts/util.py
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user