Fix Windows mpv logging and add log export (#88)

This commit is contained in:
2026-05-26 00:31:38 -07:00
committed by GitHub
parent 43ebc7d371
commit 11c196821d
150 changed files with 2748 additions and 582 deletions
+7
View File
@@ -3,6 +3,7 @@ import fs from 'node:fs';
import path from 'node:path';
import test from 'node:test';
import {
generateConfigExampleTemplate,
resolveConfigExampleOutputPaths,
writeConfigExampleArtifacts,
} from './generate-config-example';
@@ -80,3 +81,9 @@ test('writeConfigExampleArtifacts creates parent directories for resolved output
fs.rmSync(workspace, { recursive: true, force: true });
}
});
test('generateConfigExampleTemplate uses the canonical example socket path', () => {
const template = generateConfigExampleTemplate();
assert.match(template, /"socketPath": "\\\\\\\\.\\\\pipe\\\\subminer-socket"/);
});