summaryrefslogtreecommitdiff
path: root/py_modules/lsfg_vk/plugin.py
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-05 23:58:16 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-05 23:58:16 -0400
commit89e64a7dbddb8f713dd2ca37131924e8bd8ab51f (patch)
tree8238ddece764ab7757f42c7944236eef74f12f8c /py_modules/lsfg_vk/plugin.py
parente8e469f99078858dc953663cba6f3428e80b1c5d (diff)
downloaddecky-lsfg-vk-89e64a7dbddb8f713dd2ca37131924e8bd8ab51f.tar.gz
decky-lsfg-vk-89e64a7dbddb8f713dd2ca37131924e8bd8ab51f.zip
feat: select Lossless Scaling lsfg-vk branch
Diffstat (limited to 'py_modules/lsfg_vk/plugin.py')
-rw-r--r--py_modules/lsfg_vk/plugin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/py_modules/lsfg_vk/plugin.py b/py_modules/lsfg_vk/plugin.py
index 6a8dfc5..1676566 100644
--- a/py_modules/lsfg_vk/plugin.py
+++ b/py_modules/lsfg_vk/plugin.py
@@ -16,6 +16,7 @@ from .configuration import ConfigurationService
from .config_schema import ConfigurationManager
from .flatpak_service import FlatpakService
from .runtime_service import RuntimeService
+from .steam_service import SteamService
class Plugin:
@@ -33,6 +34,7 @@ class Plugin:
self.installation_service = InstallationService(runtime_service=self.runtime_service)
self.configuration_service = ConfigurationService(runtime_service=self.runtime_service)
self.flatpak_service = FlatpakService()
+ self.steam_service = SteamService()
async def install_lsfg_vk(self) -> Dict[str, Any]:
"""Install the bundled lsfg-vk runtime to ~/.local
@@ -320,6 +322,12 @@ class Plugin:
"""
return self.flatpak_service.get_flatpak_apps()
+ async def get_lossless_scaling_branch_status(self) -> Dict[str, Any]:
+ return self.steam_service.get_branch_status()
+
+ async def select_lossless_scaling_branch(self) -> Dict[str, Any]:
+ return self.steam_service.select_branch()
+
async def set_flatpak_app_override(self, app_id: str) -> Dict[str, Any]:
"""Set lsfg-vk overrides for a Flatpak app