mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
fix is_aarch
This commit is contained in:
+1
-2
@@ -104,8 +104,7 @@ class SystemUtils:
|
|||||||
判断是否为ARM32架构
|
判断是否为ARM32架构
|
||||||
"""
|
"""
|
||||||
arch_name = platform.machine().lower()
|
arch_name = platform.machine().lower()
|
||||||
is_arm_prefix = True if arch_name.startswith('arm') or arch_name.startswith('aarch') else False
|
return True if (arch_name.startswith(('arm', 'aarch')) and arch_name not in ('aarch64', 'arm64')) else False
|
||||||
return True if (is_arm_prefix and arch_name not in ('aarch64', 'arm64')) else False
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def is_x86_64() -> bool:
|
def is_x86_64() -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user