fix texthooker gate, overlay fallback, and control server byte limit

- gate --texthooker flag on both CLI useTexthooker arg and plugin texthookerEnabled
- remove erroneous return that blocked legacy app startup fallback after control command failure
- fix open-config-settings to only skipRender when window actually opened
- track raw byte count for accurate 64KB limit in app control server
This commit is contained in:
2026-05-21 03:11:23 -07:00
parent a53237f1ce
commit 661e54144d
8 changed files with 144 additions and 7 deletions
+3 -1
View File
@@ -282,7 +282,9 @@ export async function runPlaybackCommandWithDeps(
pluginRuntimeConfig.autoStartVisibleOverlay
? '--show-visible-overlay'
: '--hide-visible-overlay',
...(pluginRuntimeConfig.texthookerEnabled ? ['--texthooker'] : []),
...(args.useTexthooker && effectivePluginRuntimeConfig.texthookerEnabled
? ['--texthooker']
: []),
]
: [];
await deps.startOverlay(appPath, args, mpvSocketPath, extraAppArgs);