mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-20 17:01:24 -07: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
@@ -85,6 +85,12 @@ test('parseArgs maps mpv idle action', () => {
|
||||
assert.equal(parsed.mpvStatus, false);
|
||||
});
|
||||
|
||||
test('parseArgs applies configured mpv launch mode default', () => {
|
||||
const parsed = parseArgs([], 'subminer', {}, { launchMode: 'maximized' });
|
||||
|
||||
assert.equal(parsed.launchMode, 'maximized');
|
||||
});
|
||||
|
||||
test('parseArgs maps dictionary command and log-level override', () => {
|
||||
const parsed = parseArgs(['dictionary', '.', '--log-level', 'debug'], 'subminer', {});
|
||||
|
||||
|
||||
Reference in new issue
Block a user