mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
Fix check arm system
This commit is contained in:
@ -37,7 +37,7 @@ def is_os_64bit():
|
|||||||
return platform.machine().endswith('64')
|
return platform.machine().endswith('64')
|
||||||
|
|
||||||
def is_os_arm():
|
def is_os_arm():
|
||||||
if -1 == platform.machine().find('arm'):
|
if -1 == platform.machine().lower().find('arm'):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user