Master goodies.

This commit is contained in:
hjozwiak committed 2026-11-02 23:14:16 -05:00
commit b51a08e7cc
13 files changed
+246 -48

No files matched your search

+4 -4
View File
@@ -17,7 +17,7 @@ from orca.extension import Extension
from orca.extension_preferences import ExtensionPreference
from .manager import (HelperManager, controller_only_arguments,
excluded_hook_arguments, extra_helper_arguments)
extra_helper_arguments)
from .presenter import WineEvent, WineEventPresenter
from .review import DialogReader, gio_capture
from .service import INTERFACE, OBJECT_PATH, WineAccessInterface
@@ -68,7 +68,8 @@ class WineAccess(Extension):
"Controller-only helpers serve NVDA/Tolk speech without "
"injecting hooks or reading standard controls. Use it for "
"games whose anti-tamper code objects to injected hooks. "
"Changes apply the next time a helper starts."),
"Changes apply to new helpers. Close Wine applications and restart Orca "
"before relaunching them to apply a changed list."),
]
def _helper_arguments(self, programs: set[str]) -> list[str]:
@@ -76,8 +77,7 @@ class WineAccess(Extension):
always = self.settings.get("controller-only", False)
listed = self.settings.get("controller-only-programs", [])
return [*excluded_hook_arguments(listed),
*controller_only_arguments(programs, listed, always is True)]
return controller_only_arguments(programs, listed, always is True)
# Extension lifecycle