fix resources

This commit is contained in:
jxxghp 2023-11-01 11:37:23 +08:00
parent d016d239e3
commit b0ce7e6531
6 changed files with 8 additions and 1 deletions

Binary file not shown.

View File

@ -64,6 +64,13 @@ class SystemUtils:
""" """
return True if platform.system() == 'Darwin' else False return True if platform.system() == 'Darwin' else False
@staticmethod
def is_aarch64() -> bool:
"""
判断是否为ARM64架构
"""
return True if platform.machine() == 'aarch64' else False
@staticmethod @staticmethod
def copy(src: Path, dest: Path) -> Tuple[int, str]: def copy(src: Path, dest: Path) -> Tuple[int, str]:
""" """

File diff suppressed because one or more lines are too long