summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-11-27 22:45:37 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-11-27 22:45:37 -0500
commitfc8724b850b7c59151522da8391963cc071d49f8 (patch)
treeb1a9010ec7330bf8f52756307ed716ffa2ead1c9
parent126c0a98558fa31ee00c72663e700321e822823a (diff)
downloaddecky-lsfg-vk-fc8724b850b7c59151522da8391963cc071d49f8.tar.gz
decky-lsfg-vk-fc8724b850b7c59151522da8391963cc071d49f8.zip
simplify arch detectarm-test
-rw-r--r--py_modules/lsfg_vk/installation.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/py_modules/lsfg_vk/installation.py b/py_modules/lsfg_vk/installation.py
index 5e9ef73..4f01be1 100644
--- a/py_modules/lsfg_vk/installation.py
+++ b/py_modules/lsfg_vk/installation.py
@@ -76,10 +76,9 @@ class InstallationService(BaseService):
"""Check if running on ARM architecture
Returns:
- True if running on ARM (aarch64/arm64), False otherwise
+ True if running on ARM (aarch64), False otherwise
"""
- machine = platform.machine().lower()
- return machine in ('aarch64', 'arm64', 'armv8l', 'armv8b')
+ return platform.machine().lower() == 'aarch64'
def _extract_and_install_files(self, zip_path: Path) -> None:
"""Extract zip file and install files to appropriate locations