summaryrefslogtreecommitdiff
path: root/py_modules/lsfg_vk/configuration.py
diff options
context:
space:
mode:
authorxXJsonDeruloXx <danielhimebauch@gmail.com>2025-10-21 22:47:26 -0400
committerxXJsonDeruloXx <danielhimebauch@gmail.com>2025-10-21 22:47:26 -0400
commit74b246f30bb6b030ad3cf1a2a993db1204f061c1 (patch)
tree8b53aa7687bbb61d36a4723898ea726670b2f6c8 /py_modules/lsfg_vk/configuration.py
parent6a4cb63fa3de3af111245fe5dd476d70775cd74f (diff)
downloaddecky-lsfg-vk-74b246f30bb6b030ad3cf1a2a993db1204f061c1.tar.gz
decky-lsfg-vk-74b246f30bb6b030ad3cf1a2a993db1204f061c1.zip
rm unused DLL path methods from ConfigurationService and Plugin classes
Diffstat (limited to 'py_modules/lsfg_vk/configuration.py')
-rw-r--r--py_modules/lsfg_vk/configuration.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/py_modules/lsfg_vk/configuration.py b/py_modules/lsfg_vk/configuration.py
index 13fa925..332d4ef 100644
--- a/py_modules/lsfg_vk/configuration.py
+++ b/py_modules/lsfg_vk/configuration.py
@@ -104,41 +104,6 @@ class ConfigurationService(BaseService):
self.log.error(error_msg)
return self._error_response(ConfigurationResponse, str(e), config=None)
- def update_dll_path(self, dll_path: str) -> ConfigurationResponse:
- """Update just the DLL path in the configuration
-
- Args:
- dll_path: Path to the Lossless.dll file
-
- Returns:
- ConfigurationResponse with success status
- """
- try:
- profile_data = self._get_profile_data()
-
- profile_data["global_config"]["dll"] = dll_path
-
- current_profile = profile_data["current_profile"]
- from .config_schema_generated import DLL
- profile_data["profiles"][current_profile][DLL] = dll_path
-
- self._save_profile_data(profile_data)
-
- script_result = self.update_lsfg_script_from_profile_data(profile_data)
- if not script_result["success"]:
- self.log.warning(f"Failed to update launch script: {script_result['error']}")
-
- self.log.info(f"Updated DLL path in lsfg configuration: '{dll_path}'")
-
- return self._success_response(ConfigurationResponse,
- f"DLL path updated to: {dll_path}",
- config=profile_data["profiles"][current_profile])
-
- except Exception as e:
- error_msg = f"Error updating DLL path: {str(e)}"
- self.log.error(error_msg)
- return self._error_response(ConfigurationResponse, str(e), config=None)
-
def update_lsfg_script(self, config: ConfigurationData) -> ConfigurationResponse:
"""Update the ~/lsfg launch script with current configuration