diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-11-27 22:43:00 -0500 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-11-27 22:43:00 -0500 |
| commit | 126c0a98558fa31ee00c72663e700321e822823a (patch) | |
| tree | 1a63ba4e70935a80a93ff83bb7980dfcfd1143d0 | |
| parent | 4d6360812d56923b42ee9bd5a13d2f95a1d1c958 (diff) | |
| download | decky-lsfg-vk-126c0a98558fa31ee00c72663e700321e822823a.tar.gz decky-lsfg-vk-126c0a98558fa31ee00c72663e700321e822823a.zip | |
simplify check for arch
| -rw-r--r-- | py_modules/lsfg_vk/installation.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/py_modules/lsfg_vk/installation.py b/py_modules/lsfg_vk/installation.py index f041ea3..5e9ef73 100644 --- a/py_modules/lsfg_vk/installation.py +++ b/py_modules/lsfg_vk/installation.py @@ -53,11 +53,8 @@ class InstallationService(BaseService): if self._is_arm_architecture(): self.log.info("Detected ARM architecture, using ARM binary") arm_so_path = plugin_dir / BIN_DIR / ARM_LIB_FILENAME - if arm_so_path.exists(): - shutil.copy2(arm_so_path, self.lib_file) - self.log.info(f"Overwrote with ARM binary: {self.lib_file}") - else: - self.log.warning(f"ARM binary not found at {arm_so_path}, using x86_64 version") + shutil.copy2(arm_so_path, self.lib_file) + self.log.info(f"Overwrote with ARM binary: {self.lib_file}") self._create_config_file() |
