[codex] Make Windows mpv shortcut self-contained (#40)

This commit is contained in:
2026-04-03 21:35:18 -07:00
committed by GitHub
parent d6c72806bb
commit 7514985feb
131 changed files with 3367 additions and 716 deletions

View File

@@ -50,6 +50,10 @@ export interface TexthookerConfig {
openBrowser?: boolean;
}
export interface MpvConfig {
executablePath?: string;
}
export type SubsyncMode = 'auto' | 'manual';
export interface SubsyncConfig {
@@ -90,6 +94,7 @@ export interface Config {
websocket?: WebSocketConfig;
annotationWebsocket?: AnnotationWebSocketConfig;
texthooker?: TexthookerConfig;
mpv?: MpvConfig;
controller?: ControllerConfig;
ankiConnect?: AnkiConnectConfig;
shortcuts?: ShortcutsConfig;
@@ -122,6 +127,9 @@ export interface ResolvedConfig {
websocket: Required<WebSocketConfig>;
annotationWebsocket: Required<AnnotationWebSocketConfig>;
texthooker: Required<TexthookerConfig>;
mpv: {
executablePath: string;
};
controller: {
enabled: boolean;
preferredGamepadId: string;