mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
[codex] Replace mpv fullscreen toggle with launch mode config (#48)
Co-authored-by: bee <autumn@skerritt.blog>
This commit is contained in:
1 parent
7a64488ed5
commit
bc7dde3b02
31 files changed
+305
-31
No files matched your search
@@ -50,8 +50,11 @@ export interface TexthookerConfig {
|
||||
openBrowser?: boolean;
|
||||
}
|
||||
|
||||
export type MpvLaunchMode = 'normal' | 'maximized' | 'fullscreen';
|
||||
|
||||
export interface MpvConfig {
|
||||
executablePath?: string;
|
||||
launchMode?: MpvLaunchMode;
|
||||
}
|
||||
|
||||
export type SubsyncMode = 'auto' | 'manual';
|
||||
@@ -129,6 +132,7 @@ export interface ResolvedConfig {
|
||||
texthooker: Required<TexthookerConfig>;
|
||||
mpv: {
|
||||
executablePath: string;
|
||||
launchMode: MpvLaunchMode;
|
||||
};
|
||||
controller: {
|
||||
enabled: boolean;
|
||||
|
||||
Reference in new issue
Block a user