refactor: clean up service implementations and remove dead code
This commit is contained in:
22 files changed
+2067
-756
No files matched your search
@@ -367,4 +367,9 @@ class ScreenCapture(Service):
|
||||
return is_app_running("wf-recorder") or is_app_running("gpu-screen-recorder")
|
||||
|
||||
|
||||
screen_capture_service = ScreenCapture()
|
||||
def __getattr__(name):
|
||||
if name == "screen_capture_service":
|
||||
import sys
|
||||
|
||||
return sys.modules["services.modus"].screen_capture_service
|
||||
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||
Reference in new issue
Block a user