diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-10-19 11:55:54 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-10-19 11:55:54 -0400 |
| commit | cecbefc71eacf8ae61a36bbb7fe06eb8c1fa03c6 (patch) | |
| tree | b3f09b029d9ccd2655c05888759d9be3477780ff /py_modules/lsfg_vk/installation.py | |
| parent | f076064a9c064a7e2ca74be013e2174aec8a0a1e (diff) | |
| download | decky-lsfg-vk-cecbefc71eacf8ae61a36bbb7fe06eb8c1fa03c6.tar.gz decky-lsfg-vk-cecbefc71eacf8ae61a36bbb7fe06eb8c1fa03c6.zip | |
chore: clean up imports, rm dupe inits, bump ver
Diffstat (limited to 'py_modules/lsfg_vk/installation.py')
| -rw-r--r-- | py_modules/lsfg_vk/installation.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/py_modules/lsfg_vk/installation.py b/py_modules/lsfg_vk/installation.py index 3b47be0..763154f 100644 --- a/py_modules/lsfg_vk/installation.py +++ b/py_modules/lsfg_vk/installation.py @@ -4,6 +4,7 @@ Installation service for lsfg-vk. import os import shutil +import traceback import zipfile import tempfile import json @@ -188,8 +189,9 @@ class InstallationService(BaseService): final_config = ConfigurationManager.parse_toml_content(final_content) if final_config.get(DLL): self.log.info(f"Configured DLL path: {final_config[DLL]}") - except Exception: - pass # Don't fail installation if we can't log the DLL path + except (OSError, IOError, ValueError, KeyError) as e: + # Don't fail installation if we can't log the DLL path + self.log.debug(f"Could not log DLL path: {e}") def _create_lsfg_launch_script(self) -> None: """Create the ~/lsfg launch script for easier game setup""" @@ -328,7 +330,6 @@ class InstallationService(BaseService): except Exception as e: self.log.error(f"Error cleaning up lsfg-vk files during uninstall: {str(e)}") - import traceback self.log.error(f"Traceback: {traceback.format_exc()}") def _merge_config_with_defaults(self, existing_profile_data, dll_service): |
